AnsweredAssumed Answered


Question asked by BERK CINAR on Aug 1, 2017

I'm using MCUXpresso IDE v10.02_441 for TWR-KV58F220M programming.I connected TWR-KV58F220M to Elevator model(TWR-ELEV) and then I run "driver example" code in this processor.I followed "driver examples" --> "IC2" --> "interrupt_transfer" --> "" instructions.
Firstly I connected A-71 to A-7 and A-72 to A-8 on A side expension port from TWR-ELEV.I didnt change anything from the example code but I debuged the code and I realized this code can't enter "i2c_slave_callback" function and stuck into "while(!g_SlaveCometionFlag){}" loop and output
"I2C example -- MasterInterrupt_SlaveInterrupt.
Master will send data :
0x 0 0x 1 0x 2 0x 3 0x 4 0x 5 0x 6 0x 7
0x 8 0x 9 0x a 0x b 0x c 0x d 0x e 0x f
0x10 0x11 0x12 0x13 0x14 0x15 0x16 0x17
0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x1e 0x1f"
and stop.
Can anyone help me about this topic?

Original Attachment has been moved to: interrupt_transfer.rar