AnsweredAssumed Answered

Testing TDM mode on BF518 EZ-BOARD

Question asked by mike3 on Jun 17, 2012
Latest reply on Sep 26, 2012 by Aaronwu

I'm trying to test the functionality of the SPORT in TDM mode.

 

To do this I compiled the sport_test.c program.  I run it like this:

  root:/home> ./sport_test -d -s /dev/sport1 sample.wav

 

I scope DT1PRI, and I see data there.  The first sample I see with the

scope does match the first sample in sample.wav.

 

After that though the behavior is a bit strange.  I only see data

being transmited for 100-170ms (it varies).  Also, I never see TSCLK1

do anything, it just stays high.

 

Before I spend too much time digging into the details, let me ask this question:

Has the sport_test.c been tested to work with sending data in TDM  mode?

 

This is my setup:

  Board:  ADSP-BF518F EZ-BOARD  REV 1.0

  kernel: Linux release 3.0.8-ADI-2011R1, build #20 Sat Apr 28 15:39:53 EDT 2012

 

  The sport is not talking to any codec.  I just want to see what it is putting

  out on the pins

  SW4, SW19 and SW20 have all switches in the off position.

 

Thanks,

Mike

Outcomes