SN32F760 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 136
Version 2.0
12.4 INTERFACE DESCRIPTION
12.4.1 SPI
The SPI interface is a 4-wire interface where the SEL signal behaves as a slave select. The main feature of the SPI
format is that the inactive state and phase of the SCK signal are programmable through the CPOL and CPHA bits in
When the “CPOL” clock polarity control bit is LOW, it produces a steady state low value on the SCK pin. If the CPOL
clock polarity control bit is HIGH, a steady state high value is placed on the CLK pin when data is not being transferred.
The “CPHA” clock phase bit controls the phase of the clock on which data is sampled. When CPHA=1, the SCK first
edge is for data transition, and receive and transmit data is at SCK 2
nd
edge. When CPHA=0, the 1
st
bit is fixed already,
and the SCK first edge is to receive and transmit data.
The SPI data transfer timing as following figure:
MLSB
CPOL
CPHA
SCK
Idle
Status
Diagrams
0
0
1
Low
MSB
...
...
...
...
...
bit1
LSB
0
1
1
High
MSB
...
...
...
...
...
bit1
LSB
0
0
0
Low
MSB
...
...
...
...
...
bit1
LSB
Next data
0
1
0
High
MSB
...
...
...
...
...
bit1
LSB
Next data
1
0
1
Low
LSB
bit1
...
...
...
...
...
MSB
1
1
1
High
LSB
bit1
...
...
...
...
...
MSB
1
0
0
Low
Next data
LSB
bit1
...
...
...
...
...
MSB
1
1
0
High
Next data
LSB
bit1
...
...
...
...
...
MSB
Содержание SN32F755
Страница 218: ...SN32F760 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 218 Version 2 0 22 2 LQFP 64 PIN...
Страница 220: ...SN32F760 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 220 Version 2 0 22 4 QFN 46 PIN...
Страница 221: ...SN32F760 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 221 Version 2 0 22 5 QFN 33 PIN 5x5...