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
remove "task_lock()"...what happens?
The program stuck at I2C routine like with task_lock().
then you probably fail to configure i2c correctly. are you shutting down the hardware timer used by RTX, or something? check your RTX_Config.c file to which one is used.