This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Starterware/TMS320C6748: I2C write and read within GPIO interrupt ISR

Part Number: TMS320C6748
Other Parts Discussed in Thread: TSC2007

Tool/software: Starterware

Hi TI Experts:

 

I use LCDK6748 to interface with TSC 2007 chip, I used starterWare-1-20-04-01 I2C interface program codecif.c to talk to TSC2007. I2C interface program works well in Main program, I can read/write  data from TSC2007.  when I move the I2C program  to ISR  routine, It stops. I use GPOI2-6 fall edge to trigger ISR. It enters to ISR, then stuck to I2C.  What do I missed when I use I2C read/write in ISR? I used mask_INT4 for I2C, and mask_INT6 for GPIO interrupt. In the  GPIO interrupt ISR, I2C read/write is included.