SN8P1829
8-Bit MCU build-in 12-bit ADC + PGIA + Charge-pump Reg 128 dots LCD driver
SONiX TECHNOLOGY CO., LTD
Page 100
Version 1.0
RISING EDGE TRANSMITTER/RECEIVER MODE
Example: Slave Tx/Rx rising edge
MOV
A,TXDATA
; Load transfer data into SIOB register.
B0MOV
SIOB,A
MOV
A,# 10000111B
; Setup SIOM and enable SIO function. Rising 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
DI0
DO6
DO1
DI5
DI4
DO7
SI
DI1
DO2
DI7
DI2
SCK1
MSB
DO0
DI6
SO
LSB
DO4
TX/RX data
DI3
DO3
DO5
DI7
DO0
DO4
MSB
DO5
DI4
DI5
DO2
SO
DI6
DO3
TX/RX data
LSB
DI2
SCK2
DO6
DI1
DI3
DI0
DO1
SI
DO7
Figure 10-9. The Rising Edge Timing Diagram of Slave Transfer and Receiving Operation