Public Version
www.ti.com
McBSP Basic Programming Model
After the Sample Rate Generator registers are programmed, wait for 2 CLKSRG cycles. This ensures
proper synchronization internally.
•
Enable the Sample Rate Generator (take it out of reset).
Set McBSPi.
[6] GRST bit to1 to enable the Sample Rate Generator.
After the Sample Rate Generator is enabled, wait for 2 CLKG cycles for the Sample Rate Generator
logic to stabilize.
On the next rising edge of CLKSRG, the CLKG signal transitions to '1' and starts clocking with a
frequency equal to (input clock frequency)/( 1).
•
If necessary, enable the receiver and/or the transmitter.
If necessary, remove the receiver and/or transmitter from reset by setting
McBSPi.
[0] XRST =1.
3129
SWPU177N – December 2009 – Revised November 2010
Multi-Channel Buffered Serial Port
Copyright © 2009–2010, Texas Instruments Incorporated