| Electronic Components Datasheet Search |
|
HT67F488 Datasheet(PDF) 123 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT67F488 Datasheet(HTML) 123 Page - Holtek Semiconductor Inc |
|
123 / 171 page ![]() Rev. 1.60 1�3 �ove��e� ��� �016 HT67F488/HT67F489 TinyPowerTM A/D Flash MCU with LCD & EEPROM Duringadatatransmission,awriteinstructiontotheTXRregisterwillplacethedataintotheTXR register,whichwillbecopiedtotheshiftregisterattheendofthepresenttransmission.Whenthere isnodatatransmissioninprogress,awriteinstructiontotheTXRregisterwillplacethedatadirectly intotheshiftregister,resultinginthecommencementofdatatransmission,andtheTXIFbitbeing immediatelyset.Whenaframetransmissioniscomplete,whichhappensafterstopbitsaresent orafterthebreakframe,theTIDLEbitwillbeset.TocleartheTIDLEbitthefollowingsoftware sequenceisused: • AUSRregisteraccess • ATXRregisterwriteexecution NotethatboththeTXIFandTIDLEbitsareclearedbythesamesoftwaresequence. Transmit Break IftheTXBRKbitissetthenbreakcharacterswillbesentonthenexttransmission.Breakcharacter transmissionconsistsofastartbit,followedby13×N‘0’bitsandstopbits,whereN=1,2,etc.Ifa breakcharacteristobetransmittedthentheTXBRKbitmustbefirstsetbytheapplicationprogram, thenclearedtogeneratethestopbits.Transmittingabreakcharacterwillnotgenerateatransmit interrupt.Notethatabreakconditionlengthisatleast13bitslong.IftheTXBRKbitiscontinually keptatalogichighlevelthenthetransmittercircuitrywilltransmitcontinuousbreakcharacters. AftertheapplicationprogramhasclearedtheTXBRKbit,thetransmitterwillfinishtransmittingthe lastbreakcharacterandsubsequentlysendoutoneortwostopbits.Theautomaticlogichighsatthe endofthelastbreakcharacterwillensurethatthestartbitofthenextframeisrecognized. UART Receiver TheUARTiscapableofreceivingwordlengthsofeither8or9bits.IftheBNObitisset,theword lengthwillbesetto9bitswiththeMSBbeingstoredintheRX8bitoftheUCR1register.Atthe receivercoreliestheReceiveSerialShiftRegister,commonlyknownastheRSR.Thedatawhich isreceivedontheRXexternalinputpin,issenttothedatarecoveryblock.Thedatarecoveryblock operatingspeedis16timesthatofthebaudrate,whilethemainreceiveserialshifteroperatesatthe baudrate.AftertheRXpinissampledforthestopbit,thereceiveddatainRSRistransferredtothe receivedataregister,iftheregisterisempty.ThedatawhichisreceivedontheexternalRXinputpin issampledthreetimesbyamajoritydetectcircuittodeterminethelogiclevelthathasbeenplaced ontotheRXpin.ItshouldbenotedthattheRSRregister,unlikemanyotherregisters,isnotdirectly mappedintotheDataMemoryareaandassuchisnotavailabletotheapplicationprogramfordirect read/writeoperations. Receiving Data WhentheUARTreceiverisreceivingdata,thedataisseriallyshiftedinontheexternalRXinput pin,LSBfirst.Inthereadmode,theRXRregisterformsabufferbetweentheinternalbusandthe receivershiftregister.TheRXRregisterisatwobytedeepFIFOdatabuffer,wheretwobytescan beheldintheFIFOwhileathirdbytecancontinuetobereceived.Notethattheapplicationprogram mustensurethatthedataisreadfromRXRbeforethethirdbytehasbeencompletelyshifted in,otherwisethisthirdbytewillbediscardedandanoverrunerrorOERRwillbesubsequently indicated.Thestepstoinitiateadatatransfercanbesummarizedasfollows: • MakethecorrectselectionofBNO,PRT,PRENandSTOPSbitstodefinethewordlength,parity typeandnumberofstopbits. • SetuptheBRGregistertoselectthedesiredbaudrate. • SettheRXENbittoensurethattheRXpinisusedasaUARTreceiverpin. |
|
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 |