SPRUHM9H October 2014 – May 2024 TMS320F28075 , TMS320F28075-Q1 , TMS320F28076
FREE and SOFT are special emulation bits in SPCR2 that determine the state of the McBSP when a breakpoint is encountered in the high-level language debugger. If FREE = 1, the clock continues to run upon a software breakpoint 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 breakpoint occurs, the clock stops immediately, aborting a transmission. If SOFT = 1 and a breakpoint occurs while transmission is in progress, the transmission continues until completion of the transfer and then the clock halts. These options are listed in Table 20-70.
The McBSP receiver functions in a similar fashion. If a mode other than the immediate stop mode (SOFT = FREE = 0) is chosen, the receiver continues running and an overrun error is possible.
FREE | SOFT | McBSP Emulation Mode |
---|---|---|
0 | 0 | Immediate stop mode (reset condition). |
The transmitter or receiver stops immediately in response to a breakpoint. | ||
0 | 1 | Soft stop mode |
When a breakpoint 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 a breakpoint occurs. |