GPT timer clock configuration

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
Pask
Posts: 47
Joined: Thu Jun 19, 2014 3:51 pm

GPT timer clock configuration

Post by Pask »

i am using gptStart(&GPTD2, &gpt2cfg);
why my app crash when i set 1000 as timer clock in gpt configuration ?
with 10000 there is no crash.
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: GPT timer clock configuration

Post by Giovanni »

It is not a crash, it is an assertion informing you that you can't have that frequency starting from the input frequency and the available prescaler.

Giovanni
Post Reply