Download SN8F27E64

Transcript
SN8F27E60 Series
8-Bit Flash Micro-Controller with Embedded ICE and ISP
The SIO supports 8-mode format controlled by MLSB, CPOL and CPHA bits. The edge direction is “Data Transfer
Edge”. When setting rising edge that means to receive and transmit one bit data at SCK rising edge, and data
transition is at SCK falling edge. When setting falling edge, that means to receive and transmit one bit data at SCK
falling edge, and data transition is at SCK rising edge.
“CPHA” is the clock phase bit controls the phase of the clock on which data is sampled. When CPHA=1, the SCK first
nd
st
edge is for data transition, and receive and transmit data is at SCK 2 edge. When CPHA=0, the 1 bit is fixed already,
and the SCK first edge is to receive and transmit data. The SIO data transfer timing as following figure:
M
L
S
B
0
C
P
O
L
0
C
P
H
A
Diagrams
1
0
1
0
1
0
1
1
0
1
bit4
bit3
bit2
bit1
bit0
SCK idle status = High.
The transfer first bit = MSB.
SCK data transfer edge = Rising
edge.
bit6
bit5
bit4
bit3
bit2
bit1
Bit7
SCK idle status = Low.
The transfer first bit = MSB.
SCK data transfer edge = Rising
edge.
SCK idle status = High.
The transfer first bit = MSB.
SCK data transfer edge = Falling
edge.
SCK idle status = Low.
The transfer first bit = LSB.
SCK data transfer edge = Falling
edge.
Bit7
SCK idle status = High.
The transfer first bit = LSB.
SCK data transfer edge = Rising
edge.
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
Next data
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
Next data
0
1
bit1
bit2
bit3
bit4
bit5
bit6
1
bit0
1
bit5
0
bit0
1
bit6
1
bit7
0
bit0
SCK idle status = Low.
The transfer first bit = MSB.
SCK data transfer edge = Falling
edge.
1
bit7
0
Description
bit1
bit2
bit3
bit4
bit5
bit6
0
bit0
bit1
bit2
bit3
bit4
bit5
bit6
Bit7
Next data
bit0
bit1
bit2
bit3
bit4
bit5
bit6
Bit7
Next data
0
SCK idle status = Low.
The transfer first bit = LSB.
SCK data transfer edge = Rising
edge.
SCK idle status = High.
The transfer first bit = LSB.
SCK data transfer edge = Falling
edge.
SIO Data Transfer Timing
SONiX TECHNOLOGY CO., LTD
Page 140
Version 1.4