AnsweredAssumed Answered

SPORT initialization

Question asked by pfeifferc on Dec 5, 2011
Latest reply on Dec 20, 2011 by Prashant

Hi !

We're using SPORT0 to transfer 4channels audioIn/Out.

There is a note on used BF537 datasheet (p12-34) that extern generated data and frame sync signals should change state on the opposite edge than that selected for sampling.

But how is this configured correctly???

 

is my following config correct:

 

*pSPORT0_RCR1 = RFSR | RCKFE | RDTYPE_SIGN;
*pSPORT0_RCR2 = SLEN_24 | RSFSE | RXSE;


*pSPORT0_TCR1 = TFSR | TCKFE;
*pSPORT0_TCR2 = SLEN_24 | TSFSE | TXSE;

 

TCKFE&RCKFE = 1 so fig.12-11 seems to be valid LTFS=0 active high FS

the rx&tx clk pins are tied together in our hardware

 

 

regards chris

Outcomes