Figure 158. Spi Continuous Transfer Timing Diagram - Cpol = 1, Cpha = 0; Figure 159. Spi Single Byte Transfer Timing Diagram - Cpol = 1, Cpha = 1; Figure 160. Spi Continuous Transfer Timing Diagram - Cpol = 1, Cpha = 1 - Holtek HT32F50231 User Manual

32-bit microcontroller with arm cortex-m0+
Table of Contents

Advertisement

32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F50231/HT32F50241
Figure 158 shows the continuous data transfer timing of this format. Note that the SEL signal must
change to an inactive level between each data frame.
SEL (SELAP=0)
SEL (SELAP=1)
SCK
MOSI/MISO
Figure 158. SPI Continuous Transfer Timing Diagram – CPOL = 1, CPHA = 0
CPOL = 1, CPHA = 1
In this format, the received data is sampled on the SCK line rising edge while the transmitted data
is changed on the SCK line falling edge. In the master mode, the first bit is driven when data is
written into the SPIDR register. In the slave mode, the first bit is driven at the first SCK falling
edge. Figure 159 shows the single byte transfer timing of this format.
SEL (SELAP=0)
SEL (SELAP=1)
SCK
MOSI
MISO
Figure 159. SPI Single Byte Transfer Timing Diagram – CPOL = 1, CPHA = 1
Figure 160 shows the continuous data transfer timing of this format. Note that the SEL signal must
remain active until the last data transfer has completed.
SEL (SELAP=0)
SEL (SELAP=1)
SCK
MOSI/MISO
Figure 160. SPI Continuous Transfer Timing Diagram – CPOL = 1, CPHA = 1
Rev. 1.00
Data1
½ SCK
TX[7]
TX[6]
TX[5]
RX[7]
RX[6]
RX[5]
data sampled
Data1
425 of 486
½ SCK
½ SCK
Data2
TX[4]
TX[3]
TX[2]
TX[1]
RX[4]
RX[3]
RX[2]
RX[1]
Data2
TX[0]
RX[0]
July 31, 2018

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the HT32F50231 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Ht32f50241

Table of Contents