SLAU847D October 2022 – May 2024 MSPM0L1105 , MSPM0L1106 , MSPM0L1227 , MSPM0L1228 , MSPM0L1228-Q1 , MSPM0L1303 , MSPM0L1304 , MSPM0L1304-Q1 , MSPM0L1305 , MSPM0L1305-Q1 , MSPM0L1306 , MSPM0L1306-Q1 , MSPM0L1343 , MSPM0L1344 , MSPM0L1345 , MSPM0L1346 , MSPM0L2227 , MSPM0L2228 , MSPM0L2228-Q1
The SPI includes a programmable bit rate clock divider and prescaler to generate the serial output clock (SCLK).
Bit rates supported are up to, the input clocks divided by 2. The input clock selection depends on the specific device, refer to the device data sheet and Clock Control section.
The SPI functionality can work with any of these selected inputs : SYSCLK, MFCLK and LFCLK
"SPI Clock" is the output after clock division performed according to ratio selected by the CLKDIV register. SPI clock = Selected input clock / (1 + CLKDIV)
SPI Sampling Clock (SCLK) is the output after dividing the SPI Clock by the Prescalar value. SCLK = SPI Clock / ((1 + SCR )*2)
If the factor of two (*2) is set by CLKDIV the input clock must be at least 2 times faster than SPI clock.