Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

MCBSP1 receive with external clock problem DM3730

$
0
0

Hi,

    We have a requirement to receive 1504 bits from transmitter to receiver (2 different board with mcbsp1 interface) with clock and data only. We are able to transfer and receive the data using FSRand CLK  as an external inputs to receiver.  Is there a way to receive with out FSR.

Can we receive data in McBSP with out Frame sync? If so can the configuration be provided.

We have tried

      On Receiver:

               1: Connecting FSX to FSR in receiver, connecting CLKX,CLKR to external clock and generated FSX internally using dummy write. This is not working. We are not seeing FSX being generated correctly.

we configured as below

    mcbsp_config.xcr1 |= XWDLEN1(OMAP_MCBSP_WORD_32);
    mcbsp_config.xcr1 |= XFRLEN1(frm_len);
    mcbsp_config.xcr2 |= XDATDLY(dly);
    mcbsp_config.pcr0 |= FSXM;
   mcbsp_config.pcr0 |= SCLKME;
    mcbsp_config.spcr2 |=GRST;
    mcbsp_config.spcr2 |=FRST;
    mcbsp_config.xccr |= XDMAEN; // Enable DMA transmitt requests
    mcbsp_config.xcerc = 0x1;
    mcbsp_config.srgr2 |= CLKSM;

    mcbsp_config.spcr1 &= ~ RRST;       // reset state
    mcbsp_config.rcr1 |= RWDLEN1(OMAP_MCBSP_WORD_32);
    mcbsp_config.rcr1 |= RFRLEN1(frm_len);
    mcbsp_config.rcr2 |= RDATDLY(dly);
    mcbsp_config.rccr |= RDMAEN; // Enable DMA receive requests
    mcbsp_config.rcerc = 0x1;
    mcbsp_config.spcr1 |= RRST;         // out of reset                               

Thank You

Eswar


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>