Other Parts Discussed in Thread: C2000WARE
Hi
Is there are any example which demo I2C slave using polling instead on interrupt?
Thanks
BR
HK Woo
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi
Is there are any example which demo I2C slave using polling instead on interrupt?
Thanks
BR
HK Woo
Hi,
You can refer to the examples under the C:\ti\c2000\C2000Ware_4_00_00_00\driverlib\f28002x\examples\i2c folder.
The example " i2c_ex4_eeprom_polling" uses polling.
Best Regards
Siddharth
Hi
Thanks for your information. My question is unclear. I am not ask how to use MCU as master to read data from I2C slave. I am asking that how MCU acts as slave.
BR
HK Woo
HK Woo,
You can refer the "i2c_ex3_external_loopback" example which uses two I2C instances - one as master and one as slave but this example is interrupt based and does not use polling.
There is no other polling mode example.
Best Regards
Siddharth