| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
HT67F5652 bảng dữ liệu(PDF) 160 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT67F5652 bảng dữ liệu(HTML) 160 Page - Holtek Semiconductor Inc |
|
160 / 224 page ![]() Rev. 1.00 1�0 De�e��e� 0�� �01� Rev. 1.00 1�1 De�e��e� 0�� �01� HT67F5652 24-Bit Delta Sigma A/D + LCD Flash MCU HT67F5652 24-Bit Delta Sigma A/D + LCD Flash MCU Baud Rate Generator Tosetupthespeedoftheserialdatacommunication,theUARTfunctioncontainsitsowndedicated baudrategenerator.Thebaudrateiscontrolledbyitsowninternalfreerunning8-bittimer,the periodofwhichisdeterminedbytwofactors.Thefirstoftheseisthevalueplacedinthebaudrate registerBRGandthesecondisthevalueoftheBRGHbitwiththecontrolregisterUCR2.The BRGHbitdecidesifthebaudrategeneratoristobeusedinahighspeedmodeorlowspeedmode, whichinturndeterminestheformulathatisusedtocalculatethebaudrate.ThevalueNintheBRG registerwhichisusedinthefollowingbaudratecalculationformuladeterminesthedivisionfactor. NotethatNisthedecimalvalueplacedintheBRGregisterandhasarangeofbetween0and255. UCR2 BRGH Bit 0 1 Baud Rate (BR) fSYS / [�4 (N+1)] fSYS / [1� (N+1)] ByprogrammingtheBRGHbitwhichallowsselectionoftherelatedformulaandprogrammingthe requiredvalueintheBRGregister,therequiredbaudratecanbesetup.Notethatbecausetheactual baudrateisdeterminedusingadiscretevalue,N,placedintheBRGregister,therewillbeanerror associatedbetweentheactualandrequestedvalue.ThefollowingexampleshowshowtheBRG registervalueNandtheerrorvaluecanbecalculated. Calculating the Register and Error Values Foraclockfrequencyof4MHz,andwithBRGHclearedtozerodeterminetheBRGregistervalueN, theactualbaudrateandtheerrorvalueforadesiredbaudrateof4800. FromtheabovetablethedesiredbaudrateBR=fSYS/[64(N+1)] Re-arrangingthisequationgivesN=[fSYS/(BR×64)]-1 GivingavalueforN=[4000000/(4800×64)]-1=12.0208 Toobtaintheclosestvalue,adecimalvalueof12shouldbeplacedintotheBRGregister.Thisgives anactualorcalculatedbaudratevalueofBR=4000000/[64×(12+1)]=4808 Thereforetheerrorisequalto(4808-4800)/4800=0.16% ThefollowingtablesshowactualvaluesofbaudrateanderrorvaluesforthetwovaluesofBRGH. Baud Rate K/BPS Baud Rates for BRGH=0 fSYS=4MHz fSYS=3.579545MHz fSYS=7.159MHz BRG Kbaud Error (%) BRG Kbaud Error (%) BRG Kbaud Error (%) 0.3 �0� 0.300 0.1� 185 0.300 0.00 — — — 1.� 51 1.�0� 0.1� 4� 1.190 -0.83 9� 1.�03 0.�3 �.4 �5 �.404 0.1� �� �.43� 1.3� 4� �.380 -0.83 4.8 1� 4.808 0.1� 11 4.��1 -�.90 �� 4.8�3 1.3� 9.� � 8.9�9 -�.99 5 9.3�1 -�.90 11 9.33� -�.90 19.� � �0.833 8.51 � 18.�43 -�.90 5 18.�43 -�.90 38.4 — — — — — — � 3�.�8� -�.90 5�.� 0 ��.500 8.51 0 55.930 -�.90 1 55.930 -�.90 115.� — — — — — — 0 111.859 -�.90 Baud Rates and Error Values for BRGH = 0 |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |