Hi
When I use I2C library without Keil RTX to communicate with I2C EEPROM the program works fine, but when I start the RTX the program stuck at:
while(!Status) Status=I2C_CheckEvent(I2C1, I2C_EVENT_MASTER_TRANSMITTER_MODE_SELECTED); // Test on EV6 and clear it
Somebody know how to fix this?
Ps: uVision3 V3.63 , MDK-ARM V3.24 , RL-ARM V3.40
Is it referred to I2C1 or I2C2 on your system? I thought it's STR library uses I2C0 and I2C1.
Maybe you are using STRx. In STM32 we have I2C1 and I2C2. I dont use interrupts. My code is in a Keil example too, it is polling based. Your code is for STRx or STM32 ? Can you send it to cmelo@anacom.com.br, please ? Thank you for helping.
Sure, we can take this off-line. I am using the STR91x, but unless, there's an errata on the I2Cs, I don't think it's hardware-related. Like I said, I had to modify the example.
Tom