BAT32G1x9 user manual | Chapter 19 Universal serial communication unit
647 / 1149
Rev.1.02
19.5.7
Calculate the transmit clock frequency
3-wire serial I/O (SSPI00, SSPI01, SSPI10, SSPI11, SSPI20, SSPI20, SSPI20, SSPI20, SSPI21, SSPI30,
SSPI31) communication transmission clock frequency can be calculated using the following calculation equation.
(1) Master device
(2) Slaves
Note The maximum allowable transmit clock frequency is fMCK/6.
Note Because the value of SDRmn [15:9]
is the value of
bit15~9
of
the serial data register
mn(SDRmn).
1111111B), so it
is
0~127.
The operating clock(f
MCK
) depends on bit15 of the serial clock selection register m (SPSm) and the serial mode
register mn (SMRmn). (CKSmn).
(Transmit clock frequency) = {Object Channel's operating clock (f
MCK
) frequency} (SDRmn[15:9]+
1)
÷
2[Hz]
(Transmit Clock Frequency) = {
Serial Clock (
SCLK)
Frequency
Rate
Provided by the Master
Device
}
Note
[Hz].