
SN8P1700
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 150
Revision 1.93
RISING EDGE RECEIVER MODE
Example: Master Rx rising edge
MOV
A,#0FFH
; Set SIO clock with auto-reload function.
B0MOV
SIOR,A
MOV
A,#10000010B
; Setup SIOM and enable SIO function. Rising edge.
B0MOV
SIOM,A
B0BSET
FSTART
; Start 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
DI7
DI6
SO
DI5
Normal I/O Application
DI4
SCK
RX data
DI3
LSB
DI2
DI1
MSB
SI
Figure 9-6. The Rising Edge Timing Diagram of Master Receiving Operation