Page 2 of 2

Re: STM32F446RE demo has a timing issue

Posted: Wed Jan 02, 2019 10:42 pm
by chroco
Thank you for following up on this issue!

I can confirm that the timing is still off. chThdSleepMilliseconds(1000) seems to delay for 500ms.

-Chad Coates

Re: STM32F446RE demo has a timing issue

Posted: Wed Jan 02, 2019 10:53 pm
by Giovanni
Could you try CH_CFG_ST_TIMEDELTA set to zero?

Giovanni

Re: STM32F446RE demo has a timing issue

Posted: Wed Jan 02, 2019 11:44 pm
by chroco
Thanks Giovanni!

It looks like that fixed it. chThdSleepMilliseconds(1000) is now behaving as expected.

Re: STM32F446RE demo has a timing issue

Posted: Thu Jan 03, 2019 6:07 am
by Giovanni
Hi,

It did not fix it, it just proved that the problem is in the ST driver when a TIM is used.

Next week I should be able to get an F446 board.

Giovanni

Re: STM32F446RE demo has a timing issue

Posted: Sat Jan 19, 2019 10:46 am
by Giovanni
Fixed it, it was a wrong DKCFGR register initialization.

Giovanni

Re: STM32F446RE demo has a timing issue

Posted: Wed Jan 23, 2019 5:45 am
by heliochronix
Thank you Giovanni for following up on this!Confirming that trunk@12551 solved this issue.