AnsweredAssumed Answered

21469 - TWI C code examples?

Question asked by misterdsp on Oct 13, 2011
Latest reply on Mar 4, 2012 by Mitesh

Are there any c code polling TWI examples available for the ADSP-21469?

 

I found some user examples which used interrupts and (TWIIRPTL&TWITXINT) to advance the transmit and receive state.

 

If I do not use interrupts, will (TWIFIFOSTAT&TWITXS) accomplish the same thing? Does the c code have to do a Restart in some circumstances and how is that done, or does the dsp TWI hardware peripheral has the smarts to take care of all the low level details?

Outcomes