SLAZ405I October 2012 – May 2021 MSP430G2121
USI Module
Functional
SPI master generates one additional clock after module reset Bug
Initalizing the USI in SPI MASTER mode with the USICKPH bit set generates one additional clock pulse than defined by the value in the USICNTx bits on the SCLK pin during the first data transfer after module reset. For example, if the USICNTx bits hold the value eight, nine clock pulses are generated on the SCLK pin for the first transfer only.
Load USICNTx with a count of N-1 bits (where N is the required number of bits) for the first transfer only.