Other Parts Discussed in Thread: ADS8345, TLV320AIC23
Tool/software: Code Composer Studio
Hi,
Can you provide example source code to interface between TMS320C6713 and ADS8345 USING McASP.
Thanks,
Sajida
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.
Tool/software: Code Composer Studio
Hi,
Can you provide example source code to interface between TMS320C6713 and ADS8345 USING McASP.
Thanks,
Sajida
Hi,
Sorry, as far as I know there are no such examples, as this is not a typical use case. Examples provided by TI are supposed to work on reference EVM boards, which may differ from the various customer applications.
Best Regards,
Yordan
Hi,
We need a source code for interfacing between TMS320C6713 and ADS8345 by using McASP.
Thanks,
Sajida
Hi,
I am using a TI DSP C6713B.
I want to connect the McASP1 to ADC ADS8345.
My aim is to get serial (or in TDM format) data from 8-ch microphones that are connected to ADS8345.
I am trying to program the ADC ADS8345 using McASP and have a couple of questions.
1) Is it requred to program the ADS8345 (precision A to D Converter) using McASP?
2) After initialization of McASP, I am not able to see clock and framesync (probed on the respective pins
3) After debugging the code in CCS V5.5, I found that the execution stoped at while loop as shown here
/*---------------------------------------------------------------*/
/* Take transmit and receive state machine out of reset */
/*---------------------------------------------------------------*/
MCASP_enableSm(hMcasp, MCASP_XMTRCV);
while(!(MCASP_FGETH(hMcasp,GBLCTL,RSMRST) & MCASP_FGETH(hMcasp,GBLCTL,XSMRST)));
(4) Can anyone please help me to solve this problem.
Thanks,
Sajida
Hello Sajida,
Unfortunately, TI does not have any example code showing how to interface the C6713 to an ADC using McASP.
There is a McASP example project provided by Spectrum Digital that might be of help. It can be located in the "Target Code" zip file at the following link.
http://c6000.spectrumdigital.com/dsk6713/revc/
This example shows how to interface to the TLV320AIC23 audio codec, which contains multibit sigma-delta ADCs and DACs.
I hope this helps.
Regards,
Sahin