F04/07/09 clock definitions

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

F04/07/09 clock definitions

Postby steved » Fri Sep 22, 2017 2:12 pm

The 32F04/07/09 don't have a divide by two on the output of the HSI clock into the PLL. However it's currently allowed, and used in the demo:

Code: Select all

#if 0
// original demo code
#define STM32_PLLSRC                        STM32_PLLSRC_HSI_DIV2
#define STM32_PREDIV_VALUE                  1
#else
// F091 doesn't have divide by 2
#define STM32_PLLSRC                        STM32_PLLSRC_HSI
#define STM32_PREDIV_VALUE                  2
#endif

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 2 guests