All:
The UART spec is 1 MBAUD. I have an application where the ideal BAUD rate is 1.024 MBAUD - how flexible is the spec in this regard?
If we cannot get to t 1.024 MBAUD, then, we would have to back off to 512 KBAUD.
All of this is because of the processor being connected to the MSP430, and the inflexibility of the clocking that it can use.
Regards,
Todd Anderson
Hi Todd,
If you're sourcing the UART with an accurate clock source (eg crystal and preferably one that divides nicely into 1.024MHz) then I don't see why you cannot do 1.024Mbaud.
However, you should test the transmit-receive error rates at both 1.024MBaud and 512KBaud and see if they are acceptable, and make your decision that way.
Tony
Todd,
My guess is that nobody (not even TI engineers who visit this forum) will officially sanction the use of UART above 1MBaud.
But you are so close that it should work. Keep in mind that baud rates that high can fail with poor line transceivers, so hopefully you're not using transceivers and you are instead dealing with a TTL or logic-level interface.
One sticky point is the deglitch logic, which requires the bit to be at least 600ns. At 1.024MBaud, each bit is 976ns, so you just need to make sure the edges are clean and sharp.
And for receiving that data rate on MSP430, I'm guessing you plan on making friends with the DMA controller.
Jeff
Todd Anderson78572The UART spec is 1 MBAUD. I have an application where the ideal BAUD rate is 1.024 MBAUD - how flexible is the spec in this regard?
1.024MBd isn't that far, so chances are you'll never have problems with it. But be prepared that perhaps every now and then one MSP will refuse to do it. Mostly on the receiving direction, as this is the more fragile one.
_____________________________________Before posting bug reports or ask for help, do at least quick scan over this article. It applies to any kind of problem reporting. On any forum. And/or look here.If you cannot discuss your problem in the public, feel free to start a private conversation: click on my name and then 'start conversation'. But please do so only if you really cannot do it in a public thread, as I usually read all threads. And I prefer to answer where others can profit from it (or contribute to it) too.