AnsweredAssumed Answered

ADSP-21489 TWI (I2C) TWIRERR

Question asked by Deco on Aug 23, 2012
Latest reply on Aug 27, 2012 by jeyanthi.jegadeesan

When attempting to read a register from a sensor the value is 0 and the TWIMSTAT_RERR is set to 1.

The writing and reading (getting the correct value) works when debugging the code on VisualDSP++ 5.0, but if I run the code (no stepping through code) I notice the problem. I set *pTWIFIFOCTL = TWIBHD to avoid a "Core access to a SPORT/LINK Port is hung at PC:0x131a7a". Do you have any suggestions of how to get around this problem ?

 

Regards,


Deco

Outcomes