cancel
Showing results for 
Search instead for 
Did you mean: 

Nucleo-F302R8 doesn't seem to have TIM15 & TIM17

tld
Associate

I can't get TIM15 or TIM17 to work on a Nucleo-F302R8 board. If I examine the peripheral memory where TIM15 (0x40014000) and TIM17 (0x40014800) should be, I always read back all zeros.

For example, using gdb I write to the timer's ARR register and then read back:

For TIM15: 
set *0x4001402c =0x5a5a
x/20xw 0x40014000 returns all zeros.

For TIM16: 
set *0x4001442c =0x5a5a
x/20xw 0x40014400 returns the expected value at 0x4001442c.

For TIM17: 
set *0x4001482c =0x5a5a
x/20xw 0x40014800 returns all zeros.

According to the stm32f302r6-8.pdf data sheet, the STM32F302R8 has both TIM15 and TIM17 timers. I tested this on a brand new, unused Nucleo-F302R8 board and a used one.

What am I missing?

Thanks,
Tom

 

1 ACCEPTED SOLUTION

Accepted Solutions
Uwe Bonnes
Principal III

Did you enable the timer clocks?

View solution in original post

1 REPLY 1
Uwe Bonnes
Principal III

Did you enable the timer clocks?