| Electronic Components Datasheet Search |
|
HT66F4530 Datasheet(PDF) 160 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F4530 Datasheet(HTML) 160 Page - Holtek Semiconductor Inc |
|
160 / 224 page ![]() Rev. 1.00 1�0 De�e��e� �1� �01� Rev. 1.00 1�1 De�e��e� �1� �01� HT66F4530/HT66F4540/HT66F4550 A/D Flash MCU with Dual Operational Amplifiers HT66F4530/HT66F4540/HT66F4550 A/D Flash MCU with Dual Operational Amplifiers Duringadatatransmission,awriteinstructiontotheTXR_RXRregisterwillplacethedataintothe TXR_RXRregister,whichwillbecopiedtotheshiftregisterattheendofthepresenttransmission. Whenthereisnodatatransmissioninprogress,awriteinstructiontotheTXR_RXRregisterwill placethedatadirectlyintotheshiftregister,resultinginthecommencementofdatatransmission, andtheTXIFbitbeingimmediatelyset.Whenaframetransmissioniscomplete,whichhappens afterstopbitsaresentorafterthebreakframe,theTIDLEbitwillbeset.TocleartheTIDLEbitthe followingsoftwaresequenceisused: 1.AUSRregisteraccess 2.ATXR_RXRregisterwriteexecution NotethatboththeTXIFandTIDLEbitsareclearedbythesamesoftwaresequence. Transmit Break IftheTXBRKbitissetthenbreakcharacterswillbesentonthenexttransmission.Breakcharacter transmissionconsistsofastartbit,followedby13×N‘0’bitsandstopbits,whereN=1,2,etc.Ifa breakcharacteristobetransmittedthentheTXBRKbitmustbefirstsetbytheapplicationprogram, andthenclearedtogeneratethestopbits.Transmittingabreakcharacterwillnotgenerateatransmit interrupt.Notethatabreakconditionlengthisatleast13bitslong.IftheTXBRKbitiscontinually keptatalogichighlevelthenthetransmittercircuitrywilltransmitcontinuousbreakcharacters. AftertheapplicationprogramhasclearedtheTXBRKbit,thetransmitterwillfinishtransmittingthe lastbreakcharacterandsubsequentlysendoutoneortwostopbits.Theautomaticlogichighatthe endofthelastbreakcharacterwillensurethatthestartbitofthenextframeisrecognized. UART Receiver TheUARTiscapableofreceivingwordlengthsofeither8or9bits.IftheBNObitisset,theword lengthwillbesetto9bitswiththeMSBbeingstoredintheRX8bitoftheUCR1register.Atthe receivercoreliestheReceiveSerialShiftRegister,commonlyknownastheRSR.Thedatawhich isreceivedontheRXexternalinputpinissenttothedatarecoveryblock.Thedatarecoveryblock operatingspeedis16timesthatofthebaudrate,whilethemainreceiveserialshifteroperatesatthe baudrate.AftertheRXpinissampledforthestopbit,thereceiveddatainRSRistransferredtothe receivedataregister,iftheregisterisempty.ThedatawhichisreceivedontheexternalRXinputpin issampledthreetimesbyamajoritydetectcircuittodeterminethelogiclevelthathasbeenplaced ontotheRXpin.ItshouldbenotedthattheRSRregister,unlikemanyotherregisters,isnotdirectly mappedintotheDataMemoryareaandassuchisnotavailabletotheapplicationprogramfordirect read/writeoperations. Receiving Data WhentheUARTreceiverisreceivingdata,thedataisseriallyshiftedinontheexternalRXinput pin,LSBfirst.Inthereadmode,theTXR_RXRregisterformsabufferbetweentheinternalbus andthereceivershiftregister.TheTXR_RXRregisterisatwobytedeepFIFOdatabuffer,where twobytescanbeheldintheFIFOwhileathirdbytecancontinuetobereceived.Notethatthe applicationprogrammustensurethatthedataisreadfromTXR_RXRbeforethethirdbytehasbeen completelyshiftedin,otherwisethisthirdbytewillbediscardedandanoverrunerrorOERRwillbe subsequentlyindicated.Thestepstoinitiateadatatransfercanbesummarizedasfollows: • MakethecorrectselectionofBNO,PRTandPRENbitstodefinethewordlengthandparitytype. • SetuptheBRGregistertoselectthedesiredbaudrate. • SettheRXENbittoensurethattheRXpinisusedasaUARTreceiverpin. Atthispointthereceiverwillbeenabledwhichwillbegintolookforastartbit. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |