2017-02-28 04: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-uart2017-02-28 04: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.
2017-02-28 04: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
2017-02-28 04: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
2017-02-28 05:41 AM
Interesting to know.
But I don't get the motivation for considering a software UART, for a MCU with 5 USART peripherals ...
2017-02-28 07: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
2017-02-28 07:35 AM
IMHO understandable for low baud rates.
But with sound oversampling, one hits the (core) performance wall quite quickly.
2017-02-28 07: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
2017-02-28 08:40 AM
That wasn't the question
2017-03-01 01:52 AM
garsi.khouloud
i know there are examples in CubeMX repository but there isn't anything about software uart .