HT68F20/HT68F30/HT68F40/HT68F50/HT68F60
HT68FU30/HT68FU40/HT68FU50/HT68FU60
Enhanced I/O Flash Type 8-Bit MCU with EEPROM
S C S
S C K ( C K P O L B = 1 )
S C K ( C K P O L B = 0 )
S D O
S D I D a t a C a p t u r e
S P I t r a n s f e r
m a s t e r o r
M a s t e r
s l a v e
?
S I M [ 2 : 0 ] = 0 0 0 ,
0 0 1 , 0 1 0 , 0 1 1 o r 1 0 0
C o n f i g u r e C K P O L B ,
C K E G , C S E N a n d M L S
S I M E N = 1
A
Rev. 2.10
D 7 / D 0
D 6 / D 1
D 5 / D 2
W r i t e t o S I M D
( S D O
c h a n g e s a s s o o n a s w r i t i n g o c c u r s ; S D O
N o t e : F o r S P I s l a v e m o d e , i f S I M E N = 1 a n d C S E N = 0 , S P I i s a l w a y s e n a b l e d
a n d i g n o r e s t h e S C S l e v e l .
SPI Slave Mode Timing – CKEG=1
C l e a r W C O L
S l a v e
S I M [ 2 : 0 ] = 1 0 1
SPI Transfer Control Flowchart
175
D 4 / D 3
D 3 / D 4
D 2 / D 5
D 1 / D 6
D 0 / D 7
i s f l o a t i n g i f S C S = 1 )
A
W r i t e D a t a
i n t o S I M D
Y
W C O L = 1 ?
N
T r a n s m i s s i o n
N
c o m p l e t e d ?
( T R F = 1 ? )
Y
R e a d D a t a
f r o m
S I M D
C l e a r T R F
T r a n s f e r
F i n i s h e d ?
Y
E N D
���� 02� 201�
N
Need help?
Do you have a question about the HT68F Series and is the answer not in the manual?
Questions and answers