2019-11-12 06:49 AM
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
2019-11-12 08:27 AM
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.