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.

Interfacing ADS1274 with McBSP

Other Parts Discussed in Thread: OMAP-L138, ADS1274

I'm going to be interfacing an ADS1274 with an OMAP-L138 using one of the McBSP ports, and I'm a bit confused about the best way to do it.  After reading the docs, I came up with the following, which was consistent with the approach suggested in this post:  Connect CLKR on the OMAP to CLK and SCLK on the ADC, and connect FSR on the OMAP to FSYNC on the ADC.  Configure both CLKR and FSR as outputs and configure CLKR to be the inverse of CLKR_int (i.e. PCR.CLKRP = 1).

Does the above sound correct?  My confusion comes from this post, which seems to imply that the timing between the two devices doesn't guarantee the above will work.  The second to last message on that thread proposes two solutions.  The first one configures McBSP as described above but claims that the timing is such that the data isn't guaranteed to be valid on the falling edge of CLKR_int.  Is this the same issue that caused the ADS1274 EVM to run DOUT through a D flip-flop?  The second solution involves using FSX/CLKX instead of FSR/CLKR to drive the ADC1274, and also feeding those signals back into FSR/CLKR after reclocking FSX to produce FSR.   It seems to me like the crux of the problem is that in that example the clock period is to close to the ADS1274's t_DOPD (SCLK falling edge to DOUT valid).  But if I'm running the ADS1274 in low-speed mode with a much slower clock none of the timing related problems discussed in that post apply.  Does that sound correct?  From the timing diagrams for the ADS1274, it still looks like CLKR needs to be inverted (i.e. set PCR.CLKRP to 1).  

  • Hi,

    It depends on your data rate. What is your data rate?

    Regards,

    Hyun

  • FSR (FSYNC) is 10K;   CLKR (CLK,SCLK) is 5M.   I'm currently interfacing the OMAP EVM with the ADS1274 and things seems to be working as expected, but the comment about timing problems in the post I previously referenced had me concerned that we'd need to insert a flip-flop like they do on the ADS1274 EVM when we finally design and build our board.  Looking at the timing of the two devices I assume we'll be okay without it at with the lower CLKR, but being a software guy I'm not too confident I fully understand all the timing details.