SN8P1700
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 154
Revision 1.93
FALLING EDGE TRANSMITTER/RECEIVER MODE
Example: Slave Tx/Rx falling edge
MOV
A,TXDATA
; Load transfer data into SIOB register.
B0MOV
SIOB,A
MOV
A,# 10000101B
; Setup SIOM and enable SIO function. Falling edge.
B0MOV
SIOM,A
B0BSET
FSTART
; Start transfer and receiving SIO data.
CHK_END:
B0BTS0
FSTART
; Wait the end of SIO operation.
JMP
CHK_END
B0MOV
A,SIOB
; Save SIOB data into RXDATA buffer.
MOV
RXDATA,A
DO7
DO6
DO5
MSB
SO
DO4
LSB
DO1
DO3
DO2
SCK3
DO0
DI7
DI6
DI5
DI4
DI3
DI2
DI1
SI
DI0
TX/RX data
SI
DO2
LSB
DO1
DO0
DI7
SO
DI6
DI5
MSB
DI4
DI3
SCK4
DO7
TX/RX data
DO6
DI2
DO5
DI1
DI0
DO4
DO3
Figure 9-10. The Falling Edge Timing Diagram of Slave Transfer and Receiving Operation