SPRUII0F May 2019 – June 2024 TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S
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 34-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. |