ΣSigmaStudio Ask AI Русский Log in

ADAU145x Flexible TDM

SigmaDSP & SigmaStudio jlevro1 Jul 8, 2015 00:00 4 replies Original on forum ↗
Subscribe
jlevro1 Question
Jul 8, 2015 00:00

I have an application where I'm processing a 2-channel TDM input stream in an ADAU1451. I've never used TDM before, so please bear with me for what may be a stupid question.

In SigmaStudio 3.12.1, I enable the FTDM registers in the hardware config as follows, per Fig. 70 of the data sheet:

For the "left" input channel:

FTDM IN0 - Position 0, MSB

FTDM IN1 - Position 1, 2nd MSB

FTDM IN2 - Position 2, 3rd MSB

FTDM IN3 - Position 3, LSB

And for the "right" input channel:

FTDM IN4 - Position 0, MSB

FTDM IN5 - Position 1, 2nd MSB

FTDM IN6 - Position 2, 3rd MSB

FTDM IN7 - Position 3, LSB

The resulting output waveform looks like 8-bits resolution, which I verified with a controlled input level. It's sort of like the 3 lower byte positions are being ignored.

In order to get full resolution, I had to change the "Position" tab on all IN's to "0". The byte assignments were not changed from the above listing.

What am I not getting?

Audio Signal Processors

adau1451

SigmaDSP Audio Processors

DaveThib Reply
Jul 17, 2015 00:00

Hello John,

You are trying to climb a mountain when you only need to take a walk on the beach. Flexible TDM mode is quite complicated to setup and is only needed to do special things. Just use the standard TDM modes on the serial ports. In addition, if you are using two channel TDM chances are the signals are really I2S. They are very similar and identical in some circumstances.

So just look at the Serial Data Input/output section of the datasheet and you will find this is quite easy.

Dave T

jlevro1 Reply
Jul 24, 2015 00:00

Thanks, Dave, but this would not have been my preference. We are receiving our data from a commercially-available board, the Atterotech DBAM, a Dante network interface, and that's what I have to work with. It works quite well; I just don't understand the channel assignment.

DaveThib Reply
Jul 24, 2015 00:00

Hello John,

Send over the Dante board's TDM details showing the format and channel assignment and I will have a look.

Dave T

EZAdministrator Reply
Aug 2, 2018 00:00

This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.

Thank you,
EZ Admin