User`s guide
Rev. 1.10 84 November 14, 2014 Rev. 1.10 85 November 14, 2014
HT66FW2230
Wireless Charger A/D Flash 8-Bit MCU
Analog to Digital Converter
Theneedtointerfacetorealworldanalogsignalsisacommonrequirementformanyelectronic
systems.However,toproperlyprocessthesesignalsbyamicrocontroller,theymustfirstbe
convertedintodigitalsignalsbyA/Dconverters.ByintegratingtheA/Dconversionelectronic
circuitryintothemicrocontroller,theneedforexternalcomponentsisreducedsignicantlywiththe
correspondingfollow-onbenetsoflowercostsandreducedcomponentspacerequirements.
A/D Overview
Thedevicecontainsan8-channelanalogtodigitalconverterwhichcandirectlyinterfacetoexternal
analogsignals,suchasthatfromsensorsorothercontrolsignalsandconvertthesesignalsdirectly
intoa12-bitdigitalvalue.TwoadditionalchannelsareDemodulationandOCPoperationalamplier
outputs,DEM_OPA_outputandOCP_OPA_output.
Input Channels A/D Channel Select Bits Input Pins
8+2 ACS4~ACS0
AN0~AN7,
DEM_OPA_output, OCP_OPA_output
TheaccompanyingblockdiagramshowstheoverallinternalstructureoftheA/Dconverter,together
withitsassociatedregisters.
A/D Converter Structure
A/D Converter Register Description
OveralloperationoftheA/Dconverteriscontrolledusingfourregisters.Areadonlyregisterpair
existstostoretheADCdata12-bitvalue.Theremainingtworegistersarecontrolregisterswhich
setuptheoperatingandcontrolfunctionoftheA/Dconverter.
Name
Bit
7 6 5 4 3 2 1 0
ADRL(ADRFS=0) D3
D2 D1 D0 — — — —
ADRL(ADRFS=1) D7 D6 D5
D4 D3 D2 D1 D0
ADRH(ADRFS=0) D11 D10 D9 D8 D7 D6 D5
D4
ADRH(ADRFS=1) — — — — D11 D10 D9 D8
ADCR0 START EOCB ADOFF
ACS4 ACS3 ACS2 ACS1 ACS0
ADCR1 —
VBGEN ADRFS VREFS1 VREFS0 ADCK2 ADCK1 ADCK0
A/D Converter Register List