Hi,
I'm trying to develop a link between the ADSP 21489 and ADT7411. I have to use the I2C protocol. Could someone point me to a C code example demonstrating an I2C transaction for the ADSP 21489.
Thanks!
Hi,
I'm trying to develop a link between the ADSP 21489 and ADT7411. I have to use the I2C protocol. Could someone point me to a C code example demonstrating an I2C transaction for the ADSP 21489.
Thanks!
Where did you end up with the SRU programming.
This is what you had.
SRU(LOW,DPI_PB11_I); // Since TWI output is an open-drain output, the TWI pin is connected | |
// to logic level low | |
SRU(TWI_DATA_PBEN_O,DPI_PBEN11_I); // TWI data output connected to DPI pin 11 input | |
SRU(DPI_PB11_O, TWI_DATA_I); // DPI pin 11 output connected to TWI data input | |
SRU(LOW,DPI_PB12_I); // Since TWI output is an open-drain output, the TWI pin is connected | |
// to logic level low | |
SRU2(TWI_CLK_PBEN_O,DPI_PBEN12_I); // TWI clock connected to DPI pin 12 |
Greg Rasche
Where did you end up with the SRU programming.
This is what you had.
SRU(LOW,DPI_PB11_I); // Since TWI output is an open-drain output, the TWI pin is connected | |
// to logic level low | |
SRU(TWI_DATA_PBEN_O,DPI_PBEN11_I); // TWI data output connected to DPI pin 11 input | |
SRU(DPI_PB11_O, TWI_DATA_I); // DPI pin 11 output connected to TWI data input | |
SRU(LOW,DPI_PB12_I); // Since TWI output is an open-drain output, the TWI pin is connected | |
// to logic level low | |
SRU2(TWI_CLK_PBEN_O,DPI_PBEN12_I); // TWI clock connected to DPI pin 12 |
Greg Rasche