cancel
Showing results for 
Search instead for 
Did you mean: 

Bug Report:Cube MX does not enable timer counter and interrupt

blue_eagle
Associate II
Posted on October 16, 2015 at 14:15

When using Cube MX to generate initial code for general timer,the initial code does not set TIMx_CR1 register CEN bit and TIMx_DIER register UIE bit.So it is unable to go into timer overflow interrupt.

1 REPLY 1
Chensie
Associate II
Posted on October 17, 2015 at 03:32

Hello,

You may do it in Timer configuration NVIC Setting.

(like in Attachments)

________________

Attachments :

NVIC.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hth1&d=%2Fa%2F0X0000000aVp%2FUNU054uz_cYlBO1jzu65IzmDTXxOFUxTHnwjmisgl78&asPdf=false