2018-06-05 02:27 AM
Hi, we are struggling to understand the behaviour of the timer clock for the STM32F767zi.
We are using the nucleo-F767zi board, at 216MHz.
The for APB1 prescalar is 4, and due to the x2, we are
expecting the Timer3 clock to be 108MHz
.All of our tests so far are showing the timer clock is 54MHz, the same as APB1.
For example to get a 1mS timer, I need to use a timer prescalar of 53 and a period of 999, whereas I am expecting to use 107 and 999.
This is the same behaviour using the example cube code and our own.
Has anyone seen this behaviour or can suggest anything please ?
2018-06-05 03:32 AM
2018-06-05 03:33 AM
I had incorrectly considered the Gpio pin output as the clock frequency.
The interrupts being generated are indeed the correct frequency when using the cube code.