stm32f103 software uart
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-02-28 4:10 AM
how can i configure stm32f103 for software uart implementation, are there any documents, reference manual or source code?
thanks in advance.#uart #stm32f103c8t6 #software-uart- Labels:
-
STM32F1 Series
-
UART-USART
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-02-28 4:24 AM
Not that I know of.
TI has such implementations for it's TM4C controllers, perhaps you can use that as a starting point.
I view such a software implementation as counter-productive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-02-28 4:30 AM
AN4655 for general description
AN4457 / STSW-STM32156 - it's for 'F4, but it's Cube and I was told by ST that the main reason for Cube is portability.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-02-28 4:37 AM
Hi
sevim.samet
,Pleaserefer to section 'Universal synchronous asynchronous receiver transmitter (USART)' in
related to your device.Also, I'd highly recommend you to refer to UART examples provided when downloading the
package. You can use those examples as a reference to develop your own project.Theyare found under the path below: 'STM32Cube_FW_F1_V1.4.0\Projects\STM32F103RB-Nucleo\Examples\UART'.Khouloud
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-02-28 5:41 AM
Interesting to know.
But I don't get the motivation for considering a software UART, for a MCU with 5 USART peripherals ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-02-28 7:25 AM
But I don't get the motivation for considering a software UART, for a MCU with 5 USART peripherals ...
This sort of depends on the particular application.
For example we have application with 6+ UARTS, and also those with non-standard UART requirements.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-02-28 7:35 AM
IMHO understandable for low baud rates.
But with sound oversampling, one hits the (core) performance wall quite quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-02-28 7:58 AM
Oversampling is often not needed, e.g. when you link on-board or in-box devices.
But it's not worth more words than that; I just wanted to explain the 'I don't get the motivation' :)
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-02-28 8:40 AM
That wasn't the question
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
‎2017-03-01 1:52 AM
garsi.khouloud
‌ i know there are examples in CubeMX repository but there isn't anything about software uart .