This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DA830 DSK: Unable to open McASP driver to receive from AIC3106 DAC

CCS: Version: 4.1.1.00014

bios_6_21_00_13
pspdrivers_02_00_01
xdais_6_25_01_08
xdctools_3_16_02_32
edma3_lld_02_00_01_04
ipc_1_00_05_60

Platform: Spectrum Digital DA830 DSK Rev G

 

Hello,

I'm attempting to modify the working sample AIC3106 code that came from Spectrum Digital to use the PSP McASP and IPC Stream drivers.

I can successfully create a stream for transmitting data to the AIC3106 DAC, but I am unable to create a stream for receiving. I started with the AIC3109 loopback sample code which access the McASP registers directly and works fine. Using the same McASP and PINMUX settings, but using the McASP PSP driver, I get a failure:

ti.psp.mcasp.Mcasp: line 3527: E_timeout: Operation timedout during setting GBCTL register

The problem is in setting the RCLKRST bit in line 2349 of mcasp.c. The high speed clock resets fine, but the bit clock, which should be divided down from the high speed clock, does not reset.

 

The original Spectrum Digital Code is here:

http://support.spectrumdigital.com/boards/dskda830/revc/DSKDA830_BSL_RevC.zip

The project is: DSK DA830 REV C\DSKDA830_BSL_RevC\dskda830_v1\dsp\tests\aic3106

 

I've attached the project if someone can reproduce this and help me figure out what is wrong.

1157.DA830_AIC3106_mcaspTest.zip

 

Thanks

David Kelly