MC96F6432
June 22, 2018 Ver. 2.9
245
Figure 11.86 USI1 SPI Clock Formats when CPHA1=1
When CPHA1=1, the slave begins to drive its MISO1 output when SS1 goes active low, but the data is not
defined until the first SCK1 edge. The first SCK1 edge shifts the first bit of data from the shifter onto the MOSI1
output of the master and the MISO1 output of the slave. The next SCK1 edge causes both the master and slave
to sample the data bit value on their MISO1 and MOSI1 inputs, respectively. At the third SCK1 edge, the USI1
shifts the second data bit value out to the MOSI1 and MISO1 output of the master and slave respectively. When
CPHA1
=1, the slave’s SS1 input is not required to go to its inactive high level between transfers.
Because the SPI logic reuses the USI1 resources, SPI mode of operation is similar to that of synchronous or
asynchronous operation. An SPI transfer is initiated by checking for the USI1 Data Register Empty flag (DRE1=1)
and then writing a byte of data to the USI1DR Register. In master mode of operation, even if transmission is not
enabled (TXE1=0), writing data to the USI1DR register is necessary because the clock SCK1 is generated from
transmitter block.
SCK1
(CPOL1=1)
MISO1
MOSI1
SCK1
(CPOL1=0)
/SS0 OUT
(MASTER)
BIT7
BIT0
/SS0 IN
(SLAVE)
BIT6
BIT1
…
…
BIT2
BIT5
BIT0
BIT7
BIT1
BIT6
SAMPLE
MSB First
LSB First
Summary of Contents for MC96F6432 Series
Page 24: ...MC96F6432 24 June 22 2018 Ver 2 9 4 Package Diagram Figure 4 1 48 Pin LQFP 0707 Package...
Page 25: ...MC96F6432 June 22 2018 Ver 2 9 25 Figure 4 2 44 Pin MQFP Package...
Page 26: ...MC96F6432 26 June 22 2018 Ver 2 9 Figure 4 3 32 Pin LQFP Package...
Page 27: ...MC96F6432 June 22 2018 Ver 2 9 27 Figure 4 4 32 Pin SOP Package...
Page 28: ...MC96F6432 28 June 22 2018 Ver 2 9 Figure 4 5 28 Pin SOP Package...