Skip to main content
Uwe Bonnes
Chief
Mar 14, 2019 11:06 AM UTC
Solved

Doubts about AN4013 and timer gated mode

Hello,

an4013 Rev. 6 on page 21 writes:

"The Counter Enable signal is generated by a logic OR between CEN control bit and the trigger input when configured in gated mode."

while e.g. RM0351 writes:

"Enable the counter by writing CEN=1 in the TIMx_CR1 register (in gated mode, the

 counter doesn't start if CEN=0, whatever is the trigger input level)."

This contradicts and probably AN4013 is wrong and should read "logic AND"

This topic has been closed for replies.
Imen.DBest answer
ST Technical Moderator
Mar 21, 2019 3:06 PM UTC

Hello @Uwe Bonnes​ ,

You are right, I confirm that the AN4013 is wrong. This sentence will be fixed in the next revision Rev7 which is about to be published in a few weeks.

Thanks again for pointing this error out.

Regards,

-Imen-

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks

1 reply

Imen.DBest answer
ST Technical Moderator
Mar 21, 2019 3:06 PM UTC

Hello @Uwe Bonnes​ ,

You are right, I confirm that the AN4013 is wrong. This sentence will be fixed in the next revision Rev7 which is about to be published in a few weeks.

Thanks again for pointing this error out.

Regards,

-Imen-

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks