WeAct STM32F411CUE6 systick and timers
WeAct STM32F411CUE6 systick and timers
Hi, I'm looking for basic information regarding systick and timers. Is there a way to specify a callback function for systick? For timers I have only been able to successfully use an id of -1, which I believe is for a software timer. I'd like to be able to specify hardware timers but don't know if this is supported for this board and if it is what are the id's I should be using. I don't know where to look to find this information. Any help is greatly appreciated. Thanks...Randy
Re: WeAct STM32F411CUE6 systick and timers
Not for SysTick directly (although the machine.Timer(-1) is based on SysTick).
I know you're not using a pyboard, but the pyb module is available on all STM32 boards and includes ways to access the STM32 functionality such as timers (not all of this has been moved over to the machine module yet). https://docs.micropython.org/en/latest/ ... Timer.html
I know you're not using a pyboard, but the pyb module is available on all STM32 boards and includes ways to access the STM32 functionality such as timers (not all of this has been moved over to the machine module yet). https://docs.micropython.org/en/latest/ ... Timer.html
Re: WeAct STM32F411CUE6 systick and timers
Thanks, I'll read up on the pyb module and give it a try.jimmo wrote: ↑Thu Jul 30, 2020 12:49 amNot for SysTick directly (although the machine.Timer(-1) is based on SysTick).
I know you're not using a pyboard, but the pyb module is available on all STM32 boards and includes ways to access the STM32 functionality such as timers (not all of this has been moved over to the machine module yet). https://docs.micropython.org/en/latest/ ... Timer.html
Re: WeAct STM32F411CUE6 systick and timers
If you're associating timers with specific pins, the contributed WeAct pinout diagram is useful:
https://github.com/WeActTC/MiniF4-STM32 ... Balint.png
https://github.com/WeActTC/MiniF4-STM32 ... Balint.png
Re: WeAct STM32F411CUE6 systick and timers
Thanks, I already have this diagram.scruss wrote: ↑Thu Jul 30, 2020 1:23 amIf you're associating timers with specific pins, the contributed WeAct pinout diagram is useful:
https://github.com/WeActTC/MiniF4-STM32 ... Balint.png