Other Parts Discussed in Thread: HALCOGEN, CC3235S
Hello everone,
I'm having some issues with I2C communication and TMS570LC43x.
I did try all examples from HALCoGen, and I saw many related topics over the forum.
I want to communicate TMS570LC43x with TI CC3235S through I2C.
To test I2C i created a fresh new project.
- I2C HALCoGen drivers enabled
- PINMUX for I2C1 and I2C2 selected
- I2C interrupts
and I2C configuration:
Added pullup resistors to SCL/SDA lines, oscilloscope and logic analyser connected to communication lines:
I tried examples example_i2cCommunication, example_i2cInterrupt_Communication, example_i2cMaster_TX_RX and example_i2cSlave_TX_RX.
But it aways get stuck in infinite loop:
/*SAFETYMCUSW 28 D MR:NA <APPROVED> "Potentially infinite loop found - Hardware Status check for execution sequence" */
while ((i2c->STR & (uint32)I2C_TX_INT) == 0U)
Can anyone give me some hints? What Im doing wrong.