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.

TMS320F28069F-Q1: Mcbsp可以发送和接受用一个帧同步时钟信号吗

Part Number: TMS320F28069F-Q1

Mcbsp可以发送和接受用一个帧同步时钟信号吗

可以的话在哪里配置

  • 可以。

    看一下TRM SPRUH18第893页的相关描述:

    15.3.2 Frame Synchronization Generation in the Sample Rate Generator
    The sample rate generator can produce a frame-synchronization signal (FSG) for use by the receiver, the
    transmitter, or both.
    If you want the receiver to use FSG for frame synchronization, make sure FSRM = 1. (When FSRM = 0, receive
    frame synchronization is supplied via the FSR pin.)
    If you want the transmitter to use FSG for frame synchronization, you must set:
    • FSXM = 1 in PCR: This indicates that transmit frame synchronization is supplied by the McBSP itself rather
    than from the FSX pin.
    • FSGM = 1 in SRGR2: This indicates that when FSXM = 1, transmit frame synchronization is supplied by the
    sample rate generator. (When FSGM = 0 and FSXM = 1, the transmitter uses frame-synchronization pulses
    generated every time data is transferred from DXR[1,2] to XSR[1,2].)
    In either case, the sample rate generator must be enabled (GRST = 1) and the frame-synchronization logic in
    the sample rate generator must be enabled (FRST = 0).

    15.3.3.1 Operating the Transmitter Synchronously with the Receiver
    When GSYNC = 1, the transmitter can operate synchronously with the receiver, provided that:
    • FSX is programmed to be driven by FSG (FSGM = 1 in SRGR2 and FSXM = 1 in PCR). If the input FSR has
    appropriate timing so that it can be sampled by the falling edge of CLKG, it can be used, instead, by setting
    FSXM = 0 and connecting FSR to FSX externally.
    • The sample rate generator clock drives the transmit and receive clocking (CLKRM = CLKXM = 1 in PCR).