2019-09-30 03:29 AM
I have worked on STM32 controllers and I have used CubeMX tool for code generation of any module like UART, LIn etcc....
Is there any tool for the same STM8 controller like STM8AF52A8T? CubeMX for STM8 doesn't have the support for code generation.
2019-10-06 02:12 AM
Since there are only very few STM8AF evaluation boards compared to STM8S, there also are few code examples. However, STM8AF and STM8S are quite similar (like STM8A and STM8AL are similar). You should be able to use example code from STM8S or another STM8AF for the UART (see e.g. http://www.colecovision.eu/stm8/).