Hi TI Team,
I need sample code for uart bit bang software uart for msp430fr2311?
Please help.
Regards,
Walter
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.
Hi TI Team,
I need sample code for uart bit bang software uart for msp430fr2311?
Please help.
Regards,
Walter
What is uart bit bang? Can you give some explain? If you want to find the example code, here is the link:http://dev.ti.com/tirex/explore/node?node=ANl1oYi0.klyjvtEKGoMlA__IOGqZri__LATEST
The most recent software-UART example I know of is for the G2553:
http://dev.ti.com/tirex/explore/node?node=ACXv1IxFRzIWqZl2rxfCuw__IOGqZri__LATEST
You'll have to adapt it to Timer B, but the Timers A and B are very similar at this level (notwithstanding some name changes).
Hi Keith,
Thank you for your explain.
Hi Walter,
You can take this as a reference:https://www.ti.com/lit/an/slaa797/slaa797.pdf?ts=1597287063429&ref_url=https%253A%252F%252Fwww.google.com%252F
Eason
Hi Eason,
I'm planning to use normal gpio only for uart because I'm using multi-purpose pin for TIA/ADC.
I'm looking into it for software uart reference like this:
1. http://www.msp430launchpad.com/2010/08/half-duplex-software-uart-on-launchpad.html?m=1
2. https://e2e.ti.com/support/microcontrollers/msp430/f/166/t/333961?Bit-banding-code-for-uart
Regards,
Walter
Hi Walter,
In this document:https://www.ti.com/lit/an/slaa797/slaa797.pdf?ts=1597287063429&ref_url=https%253A%252F%252Fwww.google.com%252F
It has a software UART part. Is there any reason that you don't want to use it?
Eason
**Attention** This is a public forum