RE: Help regarding UART
Dees Randy-rsaf30 <[email protected]>
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers |
|---|---|
| Message-ID | <3FADD461F8FBD8118BB0000F20D7A55F0BE6F75A@az33exm43.am.freescale.net> |
it appears that the listing in the application note was not updated completely for the MPC500 and assumed a 16.67MHz clock source.
For a 40 MHz MPC500 processor, you would use 0x82 with the divide by 32 prescaler and 0x411 for the divide by 4 prescaler. or 0x32 if a 20 MHz clock (default) is used with the default prescaler (32) and the IMB at default half speed..
randy
> -----Original Message-----
> On Behalf Of G.V.Sasanka
>
> I am trying to get familiarised with UART, I was going
> through AN2371 file in freescale webpage...in the example
> provided in that file baud rate is 9600 and its is specified
> in hex as 01B2 can someone explain me the bathematics behind
> it i.e mathematics which related 01B2 to 9600 baud rate...
------------------------ Yahoo! Groups Sponsor --------------------~-->
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/dN_tlB/TM
--------------------------------------------------------------------~->
-----------------------------------------------------------
To learn more about Freescale Microcontrollers, please visit
http://www.freescale.com/mcu
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/MPC500/
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/