STM32L431VCT6 USART as UART port configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-03-01 3:31 AM
Hi
How can we use USART as UART port in STM32L431VCT6 micro controller
I am looking for connecting two STM32L4 micro controller with TX, RX and Ground lines.
Already UART port is being used for other purpose and have only USART port
regards
subramani
#stm32l431vct6-usart-as-uart-port-configurationSolved! Go to Solution.
- Labels:
-
STM32L4 series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-03-01 10:44 AM
Got the idea on USART using the link
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-03-01 5:21 AM
Essentially the same question:
https://community.st.com/0D50X00009XkWcwSAF
Are you two in the same class?
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-03-01 5:44 AM
Ok, and what is the technical hurdle here? You can initialize all the USART, UART and LPUART using the UART library code in the Asynchronous case. They also function in materially the same way.
You will need to enable clocks, and pins to support each instantiation.
Suggest you confer with your supervisor, teacher or project lead, and review the manuals for the part and the examples furnished under the HAL/CubeMX repositories.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-03-01 10:44 AM
Got the idea on USART using the link
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-03-02 1:29 AM
I would say that probably 99.9% of USART usage is as a UART?
Who uses synchronous 'RS232' (sic) these days ?!
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-03-03 12:56 AM
I use the STM32 USART module in synchronous mode a lot, to feed various shift-register-based peripherals, as SPI tends to be a much scarcer peripheral on the STM32s.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-03-03 3:07 AM
I use SPI all the time for various sensors but I have never thought about using USART in synchronous mode for that purpose.
If you could share some thoughts what makes you use USART instead of SPI.
Thanks in advance,
Bogdan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-03-03 3:11 AM
Well, there's always one!
:)
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-03-03 3:11 AM
that would be a topic for a separate thread.
maybe a blog post ... ?
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-03-03 3:20 AM
Right, blogs posts are better because the the content can be nicely structured.
