SPRUHM8K December 2013 – May 2024 TMS320F28374D , TMS320F28375D , TMS320F28376D , TMS320F28377D , TMS320F28377D-EP , TMS320F28377D-Q1 , TMS320F28378D , TMS320F28379D , TMS320F28379D-Q1
The first step of the transmitter configuration procedure is to reset the transmitter, and the last step is to enable the transmitter (to take the transmitter out of reset). Table 21-47 describes the bits used for both of these steps.
Register | Bit | Field | Value | Description |
---|---|---|---|---|
SPCR2 | 7 | FRST | Frame-synchronization logic reset | |
0 | Frame-synchronization logic is reset. The sample rate generator does not generate frame-synchronization signal FSG, even if GRST = 1. | |||
1 | Frame-synchronization is enabled. If GRST = 1, frame-synchronization signal FSG is generated after (FPER + 1) number of CLKG clock cycles; all frame counters are loaded with their programmed values. | |||
SPCR2 | 6 | GRST | Sample rate generator reset | |
0 | Sample rate generator is reset. If GRST = 0 due to a device reset, CLKG is driven by the CPU clock divided by 2, and FSG is driven low (inactive). If GRST = 0 due to program code, CLKG and FSG are both driven low (inactive). | |||
1 | Sample rate generator is enabled. CLKG is driven according to the configuration programmed in the sample rate generator registers (SRGR[1,2]). If FRST = 1, the generator also generates the frame-synchronization signal FSG as programmed in the sample rate generator registers. | |||
SPCR2 | 0 | XRST | Transmitter reset | |
0 | The serial port transmitter is disabled and in the reset state. | |||
1 | The serial port transmitter is enabled. |