I was wondering if anyone knew the maximum speed supported by the LaunchPad on its Application UART? I can't seem to find it in the User Guide, but I could be missing it.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I was wondering if anyone knew the maximum speed supported by the LaunchPad on its Application UART? I can't seem to find it in the User Guide, but I could be missing it.
NJC,
If you use the 2231 that comes with the Launchpad, it has a hardware USI/UART on the device.
You can run this up to the maximum system clock frequency. If you enable the DCO and run it at full speed this would be 16MHZ.
-Jason
Jason Kriek said:... the 2231... has a hardware USI/UART ...
How does one utilize the hardware USI to function as an UART?
To clarify. I was asking about the Application UART, which is the UART on the LauchPad Emulator side, I was going to use it for simple data communication. I was not asking about the 2231, which does NOT have a hardware UART.
OCY, to answer your question, one can not utilized the hardware USI as a UART. The USI can only be used for SPI and I2C.
Hope that makes sense and clears things up.
-NJC
_____________________________
NJC is correct, the G2 is only a USI and not a USCI.
Some parts in the F2 family have the full USCI.
Sorry for the confusion.
-Jason
JNC,
No problem. I understood you perfectly.
Jason,
That is okay. I was hoping that you have some way to utilize the USI to function as an UART.
--OCY
Yes you can :)old cow yellow said:I was hoping that you have some way to utilize the USI to function as an UART.
Same works for the USCI SPI if you need another UART on the B-module. Just that you'll need to generate 2 8-bit values and padd the 2nd databyte with another 5 1-bits (or mix-in the startbit and the first four bits of the next databyte). Not as painless as the normal UART but much less timing-critical than any software UART.
And often, you need only one direction for debugging messages or such.
**Attention** This is a public forum