Resetting and Enabling the Transmitter
Transmitter Configuration
8-4
SPRU592E
8.3 Resetting and Enabling the Transmitter
The first step of the transmitter configuration procedure is to reset the
transmitter, and the last step is to enable the transmitter (to take it out of reset).
Figure 8
1 describe the bits used for both of these steps.
Figure 8
−
1. Register Bits Used to Place Transmitter in Reset
SPCR2
15
8
7
6
5
1
0
FRST GRST
XRST
R/W-0 R/W-0
R/W-0
Legend:
R = Read; W = Write; -
n
= Value after reset
Table 8
−
1. Register Bits Used to Place Transmitter in Reset
Register
Bit
Name
Function
SPCR2
0
XRST
Transmitter Reset
XRST = 0
The serial port transmitter is disabled and in the reset state.
XRST = 1
The serial port transmitter is enabled.
SPCR2
6
GRST
Sample Rate Generator Reset
GRST = 0
Sample rate generator is reset.
If GRST = 0 due to a DSP reset, CLKG is driven by the
McBSP internal input 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).
GRST = 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-sync signal FSG as
programmed in the sample rate generator registers.
SPCR2
7
FRST
Frame-Sync Logic Reset
FRST = 0
Frame-synchronization logic is reset. The sample rate
generator does not generate frame-sync signal FSG, even
if GRST = 1.
FRST = 1
If GRST = 1, frame-sync signal FSG is generated after
8 CLKG clock cycles; all frame counters are loaded with
their programmed values.
Summary of Contents for TMS320VC5509
Page 5: ...vi This page is intentionally left blank ...
Page 43: ...McBSP Operation 2 20 SPRU592E This page is intentionally left blank ...
Page 105: ...SPI Operation Using the Clock Stop Mode 6 16 SPRU592E This page is intentionally left blank ...
Page 187: ...Transmitter Configuration 8 40 SPRU592E This page is intentionally left blank ...
Page 191: ...General Purpose I O on the McBSP Pins 9 4 SPRU592E This page is intentionally left blank ...
Page 201: ...Emulation Power and Reset Considerations 10 10 SPRU592E ...
Page 207: ...Data Packing Examples 11 6 SPRU592E This page is intentionally left blank ...
Page 273: ...McBSP Register Worksheet 13 14 SPRU592E This page is intentionally left blank ...