STM32F446RE demo has a timing issue Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
chroco
Posts: 2
Joined: Sat Feb 17, 2018 9:41 pm
Location: Portland Oregon
Has thanked: 1 time
Contact:

Re: STM32F446RE demo has a timing issue

Postby chroco » Wed Jan 02, 2019 10:42 pm

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

User avatar
Giovanni
Site Admin
Posts: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: STM32F446RE demo has a timing issue

Postby Giovanni » Wed Jan 02, 2019 10:53 pm

Could you try CH_CFG_ST_TIMEDELTA set to zero?

Giovanni

chroco
Posts: 2
Joined: Sat Feb 17, 2018 9:41 pm
Location: Portland Oregon
Has thanked: 1 time
Contact:

Re: STM32F446RE demo has a timing issue

Postby chroco » Wed Jan 02, 2019 11:44 pm

Thanks Giovanni!

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

User avatar
Giovanni
Site Admin
Posts: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: STM32F446RE demo has a timing issue

Postby Giovanni » Thu Jan 03, 2019 6:07 am

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

User avatar
Giovanni
Site Admin
Posts: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: STM32F446RE demo has a timing issue

Postby Giovanni » Sat Jan 19, 2019 10:46 am

Fixed it, it was a wrong DKCFGR register initialization.

Giovanni

heliochronix
Posts: 34
Joined: Thu Aug 31, 2017 6:32 pm
Has thanked: 8 times
Been thanked: 6 times

Re: STM32F446RE demo has a timing issue

Postby heliochronix » Wed Jan 23, 2019 5:45 am

Thank you Giovanni for following up on this!Confirming that trunk@12551 solved this issue.


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 15 guests