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.

C6747 PSP McASP reception in TDM mode

Other Parts Discussed in Thread: ADS1278

Hello,

I've adapted provided audioSample example for serial TDM reception only. I use EDMA3 and McASP in order to acquire 8-channel-1024 samples  from ADS1278. In adition, I use an external clock to drive ACLKR pin so that Receive frame sync generator is routed to Internal fame sync and ASYNC should be tied to 1. ASYNC is part of ACLKXCTL register.

  • How could I configure it if transmitter module does not used? I've tried to write ACLKXCTL register directrly but I wonder if is there a neat way to do it.
  • McASP receiver remains in reset state even after module initialization. I have to force GBLCTK.1 bit to release from reset and then it works. Why?

I use the lastest PSP version 01_30_00_06 and DSP/BIOS 5.41.06

Thanks in advance,

Gaston

  • Did you get the audioSample example working before starting your adaptations? Or is this possible for your situation?

  • Randy, my application is not intended for audio purposes. The main goal is to perform the acquisition of samples from 8-channel AD converter (ADS1278) in McASP reception only. I started with the audio Sample that works fine as is it made but I do not know how could be configured to work only in Rx mode using McASP driver. I have to add this lines to force reset release and ASYNC control before input stream creation.

        #define MCASP1_ACLKXCTL        (*((volatile Uint32 *)0x01D040B0u))
        #define MCASP1_GBLCTL        (*((volatile Uint32 *)0x01D04044u))

        MCASP1_ACLKXCTL |= 0x00000040;
        MCASP1_GBLCTL |= 0x00000001;

    This is my current hardware configuration where I run the software application on OMAP-L137EVM and ADS1278EVM boards.


    Gaston