AnsweredAssumed Answered

sport loopback on 21489

Question asked by snaiil on Nov 10, 2014
Latest reply on Nov 12, 2014 by Jithul_Janardhanan

Hi, I am trying to implement a sport loopback test where SPORT0 is the TX master that generates the clock and FS, and SPORT1 as RX. The problem is that one TX interrupt is triggered once, while RX not triggered at all.

 

This was modified from an example where RX is the master that supplies the clock and FS.

 

The SRU is set up like this

SRU(SPORT0_CLK_O, SPORT1_CLK_I);

SRU(SPORT0_DA_O, SPORT1_DA_I);

SRU(SPORT0_FS_O, SPORT1_FS_I);

SRU(SPORT1_CLK_O, SPORT1_CLK_I);

 

The full code is here, any idea would be appreciated.

 

Share code real-time in your browser

Outcomes