2023-10-16 05:29 PM
This might be a really stupid question but I recently downloaded RM0090 revision.19 for reference in use of timers in STM32F407IGT6.
But I have noticed some diffrences from old reference manual & I can't find revision history for that.
Old revision of this refrence manual I had refers TIMx_SMCR's SMS bits as
001 : Encoder mode 1 - counter counts up/down on TI2FP2 edge depending on TI1FP1 level.
010 : Encoder mode 2 - counter counts up/down on TI1FP1 edge depending on TI2FP2 level.
but revision.19 refers TIMx_SMCR's SMS bits as
001: Encoder mode 1 - Counter counts up/down on TI2FP1 edge depending on TI1FP2 level.
010: Encoder mode 2 - Counter counts up/down on TI1FP2 edge depending on TI2FP1 level.
Has there been some changes to TIMx_SMCR in STM32F407 series?
Can anyone tell me which one is correct description?
Solved! Go to Solution.
2023-10-17 09:42 AM - edited 2023-10-17 09:44 AM
Hello @jhson, @TDK, @waclawek.jan,
The correct description of the TIMx_SMCR's SMS bitfield is:
I will escalate this to the appropriate team and push for correction of RM0090 with internal ticket ID163986.
(PS: ID163986 is an internal tracking number and is not accessible or usable by customers).
Thank you for your feedback and sorry for the inconvenience it may cause.
Thanks
Imen
2023-10-16 05:57 PM - edited 2023-10-17 11:10 AM
This post says the older version is correct, per @Imen.D:
Weird that it was correct and then changed to be incorrect.
2023-10-17 08:34 AM
> This post says the older version is correct
According to Imen's post, neither of the two variants in the initial post would be correct.
JW
2023-10-17 09:42 AM - edited 2023-10-17 09:44 AM
Hello @jhson, @TDK, @waclawek.jan,
The correct description of the TIMx_SMCR's SMS bitfield is:
I will escalate this to the appropriate team and push for correction of RM0090 with internal ticket ID163986.
(PS: ID163986 is an internal tracking number and is not accessible or usable by customers).
Thank you for your feedback and sorry for the inconvenience it may cause.
Thanks
Imen
2023-10-17 09:45 AM - edited 2023-10-17 09:47 AM
... and I've just confirmed this experimentally, too - when SMCR=1, CNT changes upon edge on CH1.
Thanks, Imen!
JW
@Imen.D, I believe this error is widespread, I see it in other RMs, too.
2023-10-17 10:25 AM
@waclawek.jan, you are right, and I requested the correction for all impacted RMs.
Thank you once again for your contribution.
Thanks
Imen