2019-09-19 02:58 AM
Hi,
I am pretty new to STM8 and CubeMX (have some experience in STM32).
----
I selected the STM8S003F3 and I can see only two timers - there should be TIM4 available but is not.
Another odd thing is that the TIM1&TIM2 are not available as long as no pins are free.
The question for people using STM8 CubeMX: is this tool mature to use it? Or maybe I do not know how to use it?
2019-09-20 01:41 PM
The TIM4 has no capture/compare channels, so no inputs/outputs to port pins. This is why it does not appear in the list.
2019-09-20 01:45 PM
The STM32CubeMX shows all available resources. The STM8CubeMX works different way - only deals with pins....
OK. Thanks.
2019-09-20 01:46 PM
I assumed that both tools share the same philosophy. But STM8 version does not generate code skeleton - only allocates/shows available pins, I guess