Why is there no I2C module in the MotorWare f2802x Driver API?
I've found many different I2C files in the MotorWare and ControlSuite folders, which one should I use to implement a I2C communication?
Thank you,
Carsten
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.
Why is there no I2C module in the MotorWare f2802x Driver API?
I've found many different I2C files in the MotorWare and ControlSuite folders, which one should I use to implement a I2C communication?
Thank you,
Carsten
No, you can check ControlSuite example C:\ti\controlSUITE\device_support\f2802x\v222\f2802x_examples_structs\i2c_eeprom, and find the APIs that has correspondence with the initialization bits/registers.
For example:
I2caRegs.I2CSAR = 0x0050; with I2C_setMasterSlaveAddr()