AnsweredAssumed Answered

BF548 SPORT loopback

Question asked by sujan5614 on Jul 8, 2013
Latest reply on Jul 11, 2013 by sujan5614

Hello,

      I am using ADSP BF548 Ez Kit Lite Board using CCES.

 

I want to perform a simple loopback, to test the SPORT3 interface in I2S mode.

As per the Hardware Reference Manual of BF548, pg: 24-8 "A SPORT can receive and transmit simultaneously for full duplex operation."

 

In CCES, the driver file adi_sport_bf5xx.c provides the API adi_sport_Open(), to open a device and provides the handler for further operation on the device. There is a parameter, eDirection which implies the Direction of the SPORT device. Since its an enum, the values defined are ADI_SPORT_DIR_TX and ADI_SPORT_DIR_RX. Well if I am to use SPORT3 in loopback mode, how should I configure the SPORT using this API. I am confused. Please guide.

 

For I2S mode, here are the planned connections for loopback:

TSCLK3 -> RSCLK3

TFS3     -> RFS3

DT3PRI -> DR3PRI

 

Regards

Sujan

Outcomes