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.

using EVMC6474 Unable to find a way to user the FPER in the MCBSP setup params.

Hi,

I used the MCBSP examples with the CCS V3.3 & board installation comming with EVMc6474,

I tried to change the FPER value in the CSL setup param with no luck, the reason is that FSGM bit was always off,

and through the CSL I couldn't find a way to change this bit,

Solution for this was to directly toggle the FSGM bit by directly modifying the SRGR register:

 status= CSL_mcbspHwSetup (m_hMcbsp ,(CSL_McbspHwSetup *) &myHwSetup);

 Uint32 srgr = (((CSL_McbspObj *)m_hMcbsp)->regs)->SRGR;
 srgr = srgr | CSL_MCBSP_SRGR_FSGM_MASK; //turn FSGM bit on
 (((CSL_McbspObj *)m_hMcbsp)->regs)->SRGR=srgr;

Hope this will help somebody,

Regards,

Maroun Farah