Skip to contentSkip to conversation

Multiple I2C busses on PPC405

DISCUSSION Tolunay Orkun 1 participant 2 messages Aug 12, 2005 – Aug 18, 2005

lore
Share & tools
lore
#0 lore raw

I have a working embedded linux on Cogent CSB472 board (PPC405GP) currently based on off 2.4.31. We are already using the I2C bus on PowerPC using hardware I2C driver (IBM IIC I2C Interface) at Fast (400khz) mode.

We need to add support for yet another (slow) I2C bus with PPC405 being the master and I'm looking at implementing bit bang interface using GPIO pins.

What is the best way to get this going? I am looking at modifying the bit bang driver (PPC_405_I2C_Algorithm?) for the I/O pins I'll use. Anyone has done something similar. I appreciate all the advice I can get.

Best Regards,
Tolunay

#1 lore raw

I've not received any reply to my inquiry. Since it was last Friday afternoon it might have been missed.

I really do appreciate if someone would suggest a bitbang I2C interface driver generic enough to modify. I only need /dev/i2c? support from the driver.

Tolunay

Quoted 11 lines · Tolunay Orkun

I have a working embedded linux on Cogent CSB472 board (PPC405GP) currently based on off 2.4.31. We are already using the I2C bus on PowerPC using hardware I2C driver (IBM IIC I2C Interface) at Fast (400khz) mode.

We need to add support for yet another (slow) I2C bus with PPC405 being the master and I'm looking at implementing bit bang interface using GPIO pins.

What is the best way to get this going? I am looking at modifying the bit bang driver (PPC_405_I2C_Algorithm?) for the I/O pins I'll use. Anyone has done something similar. I appreciate all the advice I can get.

Best Regards,
Tolunay