
Rev. 1.00
190 of ���
�an�a�� 1�� �01�
Standard 8051 8-Bit Flash MCU
HT85F2260/HT85F2270/HT85F2280
Serial Interface – SPI
Clock
Level/Edge
Set�p
Tx/Rx Shift Registe�
Data B�s
SPDAT
Clock
So��ce
Select
Clock
Division
Select
CPOL bit
CHPA bit
Clock Base
Level Select
Clock Active
Edge Select
SCK pin
SPI Cont�ol
Maste�/Slave
Cont�ol
SSN pin
SSDIS bit
MSTR bit
WCOL
SPIF
SSERR
MODF
Stat�s
Flags
MISO pin
MOSI pin
fs�s
SPR0
SPR1
SPR�
MSTR bit
SPI Interface Block Diagram
SPI Features
The SPI function in the devices have the following features:
■
Full duplex synchronous data transfer
■
Three wire synchronous transfers
■
Dual Master and Slave modes
■
Seven SPI Master baud rates
■
Slave Clock rate up to f
SYS
/8
■
Serial clock with programmable polarity and phase
■
Master Mode fault error flag with MCU interrupt capability
■
Write collision flag protection
■
Data transmitted by MSB First, LSB Last mode