Resetting and Enabling the Receiver
Receiver Configuration
7-4
SPRU592E
7.3 Resetting and Enabling the Receiver
The first step of the receiver configuration procedure is to reset the receiver,
and the last step is to enable the receiver (to take it out of reset). Figure 7
1 describe the bits used for both of these steps.
Figure 7
−
1. Register Bits Used to Reset or Enable the McBSP Receiver
SPCR1
15
1
0
RRST
R/W-0
SPCR2
15
8
7
6
5
0
FRST GRST
R/W-0 R/W-0
Legend:
R = Read; W = Write; -
n
= Value after reset
Table 7
−
1. Register Bits Used to Reset or Enable the McBSP Receiver
Register
Bit
Name
Function
SPCR1
0
RRST
Receiver Reset
RRST = 0
The serial port receiver is disabled and in the reset state.
RRST = 1
The serial port receiver 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 ...