EasyManuals Logo

Holtek HT66F30 User Manual

Default Icon
294 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #257 background imageLoading...
Page #257 background image
Rev. 2.50 256 June 22, 2017 Rev. 2.50 257 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
Using the UART Function
TousetheUARTfunction,severalimportantstepsmustbeimplementedtoensurethattheUART
moduleoperatesnormally:
• TheSPIpin-remappingfunctionmustbeproperlyconguredwhentheSPIfunctionalpinsof
themicrocontrollerareusedtocontroltheUARTmoduleandfordatatransmissionanddata
reception.TocorrectlyconnecttheMCUMasterSPItotheUARTModuleSlaveSPI,theSIM
pin-remappingsettingsforPCKandPINTintheMCUPRM0registershouldbethesameasthe
valueslistedinthefollowingtable.
HT66FU30
PRM0Register–PCKandPINTpin-remapsetup
Bit 1 0
Name SIMPS0 PCKPS
Setting value 1 1
HT66FU40/HT66FU50
PRM0Register–PCKandPINTpin-remapsetup
Bit 2 1 0
Name
SIMPS1 SIMPS0 PCKPS
Setting value 0 1 1
HT66FU60
PRM0Register–PCKandPINTpin-remapsetup
Bit 2 1 0
Name
SIMPS1 SIMPS0 PCKPS
Setting value 1 1 1
• TheSIMoperatingmodecontrolbitsSIM2~SIM0,intheSIMC0registerhavetobecongured
toenabletheSIMtooperateintheSPImastermodewithadifferentSPIclockfrequency.
SIMoperatingmodecontrolbitsSIM2~SIM0intheSIMC0Register
Bit 2 1 0
Name SIM2
SIM1 SIM0
value 100,011,010,001,000
000:SPImastermode;SPIclockisf
SYS
/4
001:SPImastermode;SPIclockisf
SYS
/16
010:SPImastermode;SPIclockisf
SYS
/64
011:SPImastermode;SPIclockisf
TBC
100:SPImastermode;SPIclockisTM0CCRPmatchfrequency/2
101~111:mustnotbeused

Table of Contents

Other manuals for Holtek HT66F30

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Holtek HT66F30 and is the answer not in the manual?

Holtek HT66F30 Specifications

General IconGeneral
BrandHoltek
ModelHT66F30
CategoryComputer Hardware
LanguageEnglish

Related product manuals