EasyManua.ls Logo

Abov A96G166 - Figure 77. SPI Clock Formats When UCPHA = 0

Default Icon
247 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
A96G166/A96A166/A96S166 User’s manual 15. USART 0/1
149
Figure 77. SPI Clock Formats when UCPHA = 0
When UCPHA=0, the slave begins to drive its MISOn output with the first data bit value when SSn
goes to active low. The first XCKn edge causes both the master and the slave to sample the data bit
value on their MISOn and MOSIn inputs, respectively.
At the second XCKn edge, the USARTn shifts the second data bit value out to the MOSIn and MISOn
outputs of the master and slave, respectively. Unlike the case of UCPHA=1, when UCPHA=0, the
slave’s SSn input must go to its inactive high level between transfers. This is because the slave can
prepare the first data bit when it detects falling edge of SSn input.
XCKn
(UCPOL=1)
MISOn
MOSIn
XCKn
(UCPOL=0)
/SSn OUT
(MASTER)
BIT7
BIT0
/SSn IN
(SLAVE)
BIT6
BIT1
BIT2
BIT5
BIT0
BIT7
BIT1
BIT6
SAMPLE
MSB First
LSB First

Table of Contents

Related product manuals