I was curious if anyone has worked on something like Software Serial for STM32 and if there is any library made for it? If yes, please share.
THE PC side VCP (virtual com port) driver is here:
STSW-STM32102 - STM32 Virtual COM Port Driver - STMicroelectronics
The other side CDC driver (to emulate VCP connection) can be found in the CubeMX examples. I used for F1 line.
Seem to remember seeing an application note, but not a very efficient. One could emulate output with SPI or TIM
I misunderstood the question.
Maybe this one:
The principles are going to be the same as for any microcontroller.
Always worth going to the Product Page for the chip concerned and looking at the list of Application Notes; eg,
Which is the one that Clive One alluded to, and Bogdan Golab linked.
But why not just choose a variant with sufficient real UARTs ... ?
Yes, software emulation is bad especially if you have so many resources as STM32 has.
Hardware resources offload CPU - you do not have to spend time on right timing (clock counting, etc).
Retrieving data ...