Rev. 2.50 238 June 22, 2017 Rev. 2.50 239 June 22, 2017
HT66F20/HT66F30/HT66F40/HT66F50/HT66F60
HT66FU30/HT66FU40/HT66FU50/HT66FU60
A/D Flash MCU with EEPROM
HT66F20/HT66F30/HT66F40/HT66F50/HT66F60
HT66FU30/HT66FU40/HT66FU50/HT66FU60
A/D Flash MCU with EEPROM
MCU to UART Internal Connection
Note:PCKoutputfrequencymustbe≤12MHz.
UART Module SPI Interface
TheMCUcommunicateswiththeUARTModuleviaaninternalSPIinterface.TheSPIinterfaceon
thisdeviceiscomprisedoffoursignals:SCS(SPIChipSelect),SCK(SPIClock),SDI(SerialData
Input)andSDO(SerialDataOutput).TheSPImaster,whichistheMCU,assertsSCSbypullingit
lowtostartthedatatransactioncycle.Whentherst8bitsofdataaretransmitted,SCSshouldnot
returntoahighlevel.Instead,SCSmustremainatalowleveluntilthewhole16-bitdatatransaction
iscompleted.IfSCSisde-asserted,thatisreturnedtoahighlevelbeforethe16-bitdatatransaction
iscompleted,alldatabitswillbediscardedbytheUARTModuleSPIslave.
SPI Timing
BothreadandwriteoperationsareconductedalongtheSPIcommoninterfacewiththefollowing
format:
•
WriteTypeFormat:8-bitcommandinput+8-bitdatainput
• ReadTypeFormat:8-bitcommandinput+8-bitdataoutput
SDO
SDI
SCK
SCS
A7 A6 A5 A4 A3 A2 A1 A0 D7 D6 D5 D4 D3 D2 D1 D0
Writing Type Format: 8-bit Command Input + 8-bit Data Input
SDO
SDI
SCK
SCS
A7 A6 A5 A4 A3 A2 A1 A0
D7 D6 D5 D4 D3 D2 D1 D0
t
w
Reading Type Format: 8-bit Command Input + 8-bit Data Output