HSI16DIV flag on STM32L0X Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
steved
Posts: 825
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 12 times
Been thanked: 135 times

HSI16DIV flag on STM32L0X  Topic is solved

Postby steved » Tue Apr 25, 2017 10:32 am

The STM32L0X series has an optional divide by 4 on the HSI clock which doesn't appear to be supported.
Flag HSI16DIVEN in RCC->CR (HSI16DIVF is read-only status)
The bit is present on all the devices I looked at:
32L011
32L021
32L031
32L041
32L051, 32L052, 32L053
32L062, 32L063
32L071, 32L072, 32L073
32L081, 32L082, 32L083

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: HSI16DIV flag on STM32L0X

Postby Giovanni » Mon May 29, 2017 9:19 am

Hi,

Implemented in trunk, if you have a chance, could you give it a try?

Giovanni

steved
Posts: 825
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 12 times
Been thanked: 135 times

Re: HSI16DIV flag on STM32L0X

Postby steved » Fri Jun 02, 2017 8:13 am

Done a quick test and my code works as expected (have to remember to update the PLL values as well)


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 36 guests