Tool/software:
Hi there,
I'm getting started with the I2C peripheral, and I read the User Guide available at: "https://www.ti.com/product/TMS320F28388D". The guide specifies that the Receive and Transmit interrupts in FIFO mode will trigger according to the number of data bytes received or transmitted, respectively. However, I tried the "i2c_ex3_external_loopback" example, and the example doesn't send any data in the main loop, but the TX interrupt is triggered anyway.
I tried to analyze it with a scope, and there is no data on the bus. After I commented out the "I2C_putData" and "I2C_sendStartCondition" functions to verify if it was something related to the initial configuration, the interrupt kept triggering. Am I doing something wrong? Can someone check this for me?
All the examples in the SDK are using FIFO mode, and the details on how FIFO operations work aren't clear in the user guide. The guide only explains the normal operation, which isn't present in the examples. Is there any other document I can consult to better understand this peripheral?
Thank you for your guidance.
Best regards,