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.

OMAP-L138: How way support a setup time of FSYNC using the McASP of DSP

Part Number: OMAP-L138
Other Parts Discussed in Thread: PCM1840

I am using the slave of PCM1840, TDM 4 channel mode.

I want to support FSYNC setup time.

Is there a way to support the above setup time in McASP? DSP is the OMAP-L138.

We know that BCLK needs to be delayed beyond the FSYNC setup time.

*I understand how to add logic circuits.

ADC

PCM1840

- slave mode

- TDM 4 channel

- FSYNC setup time : more than 8nsec

  • Hi,

    I believe you can satisfy the tSU(FSYNC FSYNC setup time) of >8ns by configuring the McASP transmitter/receiver for falling edge (CLKRP = CLKXP = 1). Relative to the BCLK, FS and DATA will appear to transition on the falling edge (>20ns before the rising edge, min PCM1840 BCLK period = 40ns). This satisfies the  >8ns setup and >8ns hold time.

    Note: I include transmitter clock because the receiver has the option to operate synchronously from the ACLKX and AFSX signals.

    According to the PCM1840 datasheet, the BCLK minimum high or low pulse duration must be higher than 25 ns (to meet the timing specifications), if the SDOUT data line is latched on the opposite BCLK edge polarity than the edge used by the device to transmit SDOUT data.

    2 x 25 ns = 50 ns: Max BCLK frequency = 20 MHz.

    What is your desired sampling rate?

    Another approach might be to delay the FS signal with logic on the PCB (RC delay or buffer), but this may need to be characterized across voltage and temperature for your application.

    Hope this helps,
    Mark

  • Dear Mark

    Thank you reply.

    I using BCLK frequency that 6.144MHz for sampling rate 48kHz.

    I understood that delay BCLK by half a cycle.

    However, since the data length is 128 bits, I was concerned that the final bits and the next FSYNC would overlap.

    As a result, a flip-flop circuit and a buffer circuit were added to support it.

    It delayed BCLK by system clock of 24.576MHz.

    Thank you for your advice.