AnsweredAssumed Answered

Proper SPORT TDM Initialization with C Block-based Talkthrough Project

Question asked by unh-audio-ee on Apr 10, 2017
Latest reply on Apr 20, 2017 by Jithul_Janardhanan

Hello,

 

I'm still unfortunately unsure on how to properly initialize a second SPORT channel, within the C-block based talkthrough example project with the SHARC 21489 EzKit. I set up another set of TCB ping pong registers, and made sure that SCHENB and SDENB were selected for the control registers - I'm trying to figure out how to get SPORT1B samples within the blockProcess_audio.c file. I've attached the two essential files, and the SRU is properly routed such that ADC2 is connected to SPORT1B. Anyone know how I can fix this? I've included the initSRU file as well, just in case. Thanks in advance! I believe my issue may simply be with how I'm handling the pointers within blockProcess_audio. Not sure if I need an fBlock B connected to ad1939_float_data as well.

 

-Jordan S.

Outcomes