Other Parts Discussed in Thread: EK-TM4C123GXL
Can you confirm if you have any example code for the master I2C on the Tiva processor .
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.
Other Parts Discussed in Thread: EK-TM4C123GXL
Can you confirm if you have any example code for the master I2C on the Tiva processor .
See the SensorLib code in TivaWare. We have an I2C master driver. It is used in all of the SensorHub boosterpack code as well as the sensor drivers in the sensor library.
One item to be aware of is that we do not currently provide any handling of I2C arbitration or bus conflict types of issues. These are left to the application to solve. We do provide errors in the status codes returned in the I2C callbacks.
C:\TI\TivaWare_C_Series-1.0\examples\boards\ek-tm4c123gxl-boostxl-senshub\ For application examples.
C:\TI\TivaWare_C_Series-1.0\sensorlib\ for the driver itself and the sensor drivers that use it.
C:\TI\TivaWare_C_Series-1.0\docs for PDF API's and documentation.
Dexter
Dexter
Hi Dexter,
I would like to bring this post http://e2e.ti.com/support/microcontrollers/tiva_arm/f/908/t/266853.aspx to your attention since it also deals with TI's I2C master driver and the BOOSTXL-SENSHUB examples.
Rgds
aBUGSworstnightmare
Hi Dexter,
I am trying to locate a clean I2C Master code Example for use with the EK-TM4C123GXL using only the i2c driverlib.
Are there any simple examples that perform only a I2C Master TX or I2C Master RX operation?
For example, how would I go about implementing the following:
1) I2C Master RX of 6 data bytes only relying on the i2c.c driverlib?
2) I2C Master TX of 6 data bytes only relying on the i2c.c driverlib?
Such simple examples would be nice to have included in a TivaWare example.
Thanks,
Robb