McBSP Emulation Mode
Emulation, Power, and Reset Considerations
10-2
SPRU592E
10.1 McBSP Emulation Mode
FREE and SOFT are special emulation bits in SPCR2 that determine the state
of the McBSP when an
emulation suspend event
occurs in the high-level
language debugger. An emulation suspend event corresponds to any type of
emulator access to the DSP, such as a hardware or software breakpoint, a
probepoint, or a printf instruction.
If FREE = 1 at the time of an emulation suspend event, the clock continues to
run and data is still shifted out. When FREE = 1, the SOFT bit is a
don’t care.
If FREE = 0, the SOFT bit takes effect: If SOFT = 0 when an emulation
suspend event occurs, the clock stops immediately, thus aborting a
transmission. If SOFT = 1 and an emulation suspend event occurs while
transmission is in progress, the transmission continues until completion of the
word, and then the clock halts. These options are listed in Table 10
The McBSP receiver responds to an emulation suspend event in a similar
fashion. Note that if the receiver continues to run but the DMA controller is
stopped, an overrun error is possible. In such a case, an interrupt service
routine should be in place to read the data receive registers (to restart the
McBSP receiver) or to reset the McBSP receiver.
Table 10
−
1. McBSP Emulation Modes Selectable With the FREE and SOFT Bits
of SPCR2
FREE
SOFT
McBSP Emulation Mode
0
0
Immediate stop mode (reset condition)
The transmitter and receiver stop immediately in response to an
emulation suspend event.
0
1
Soft stop mode
When an emulation suspend event occurs, the transmitter stops
after completion of the current word. The receiver is not affected.
1
0 or 1
Free run mode
The transmitter and receiver continue to run when an emulation
suspend event occurs.
Note:
On the TMS320VC5501 and TMS320VC5502 devices, there is an exception
to the McBSP behavior when FREE = SOFT = 0: If the McBSP is in the SPI
mode, the transmitter stops immediately, but the receiver does not stop.
Содержание TMS320VC5509
Страница 5: ...vi This page is intentionally left blank ...
Страница 43: ...McBSP Operation 2 20 SPRU592E This page is intentionally left blank ...
Страница 105: ...SPI Operation Using the Clock Stop Mode 6 16 SPRU592E This page is intentionally left blank ...
Страница 187: ...Transmitter Configuration 8 40 SPRU592E This page is intentionally left blank ...
Страница 191: ...General Purpose I O on the McBSP Pins 9 4 SPRU592E This page is intentionally left blank ...
Страница 201: ...Emulation Power and Reset Considerations 10 10 SPRU592E ...
Страница 207: ...Data Packing Examples 11 6 SPRU592E This page is intentionally left blank ...
Страница 273: ...McBSP Register Worksheet 13 14 SPRU592E This page is intentionally left blank ...