EasyManuals Logo

Holtek HT66F0175 User Manual

Default Icon
207 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 #126 background imageLoading...
Page #126 background image
Rev. 1.50 126 August 28, 2017 Rev. 1.50 127 August 28, 2017
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
ADCEN
START
ADBZ
SACS[2:0]
off on off on
t
ON2ST
t
ADS
A/D sampling time
t
ADS
A/D sampling time
Start of A/D conversion Start of A/D conversion Start of A/D conversion
End of A/D
conversion
End of A/D
conversion
t
ADC
A/D conversion time
t
ADC
A/D conversion time
t
ADC
A/D conversion time
011B 010B 000B 001B
A/D channel
switch
(SAINS =000B)
A/D Conversion Timing
Summary of A/D Conversion Steps
ThefollowingsummarisestheindividualstepsthatshouldbeexecutedinordertoimplementanA/D
conversionprocess.
Step 1
SelecttherequiredA/DconversionclockbyproperlyprogrammingtheSACKS2~SACKS0bitsin
theSADC1register.
Step 2
EnabletheA/DconverterbysettingtheADCENbitintheSADC0registerto1.
Step 3
SelectwhichsignalistobeconnectedtotheinternalA/Dconverterbycorrectlyconguringthe
SAINS2~SAINS0bits
Selecttheexternalchannelinputtobeconverted,gotoStep4.
Selecttheinternalanalogsignaltobeconverted,gotoStep5.
Step 4
IftheA/DinputsignalcomesfromtheexternalchannelinputselectingbyconguringtheSAINS
biteld,thecorrespondingpinsshouldrstbeconguredasA/Dinputfunctionbyconguringthe
relevantpin-sharedfunctioncontrolbits.Thedesiredanalogchannelthenshouldbeselectedby
conguringtheSACSbiteld.Afterthisstep,gotoStep6.
Step 5
IftheA/Dinputsignalisselectedtocomefromtheinternalanalogsignal,theSAINSbitfield
shouldbeproperlyconguredandthentheexternalchannelinputwillautomaticallybedisconnected
regardlessoftheSACSbiteldvalue.Afterthisstep,gotoStep6.
Step 6
SelectthereferencevoltgagesourcebyconguringtheSAVRS3~SAVRS0bits.
Step 7
SelecttheA/DconverteroutputdataformatbyconguringtheADRFSbit.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Holtek HT66F0175 Specifications

General IconGeneral
BrandHoltek
ModelHT66F0175
CategoryStorage
LanguageEnglish