cancel
Showing results for 
Search instead for 
Did you mean: 

UART Emulation on stm32f0 series?

RGura.1096
Associate II

Hello. I know that UART emulation is possible for stm32f4 series but is there any implementation for the same using stm32f0 ?

Copying the same h and c source files into the project does not work as it has too many DMA dependencies and I observe the HAL_dma.h file of stm32f4 is different from that of stm32f0

1 REPLY 1

Yes, the F4 and F0 are significantly different parts internally, you'd need to review the DMA plumbing in the F0 and pick more appropriate channels and TIM. See the Reference Manual.

Almost certainly some level of SW UART would be achievable, though not super desirable and you are already very resource constrained. Might have to write/port yourself, so best to understand the mechanics, or pick a part with better feature-set.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..