Possible bug in hal_lld_f100.h

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
dflogeras
Posts: 232
Joined: Tue Sep 03, 2013 8:16 pm
Has thanked: 8 times
Been thanked: 22 times

Possible bug in hal_lld_f100.h

Post by dflogeras »

Hi Giovanni,

Looking at ChibiOS-3.0.1, in hal_lld_f100.h, on line 315. Should:

Code: Select all

((STM32_MCOSEL == STM32_MCOSEL_PLL ) ...


actually be,

Code: Select all

((STM32_MCOSEL == STM32_MCOSEL_PLLDIV2 ) ....


If so, the same issue exists in the 2.6.x branch as well.

If not, let me know what I am doing wrong, I am trying to set up my F100 discovery to run just on HSI and LSI.

Dave
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Possible bug in hal_lld_f100.h

Post by Giovanni »

Hi,

It is an error, it is supposed to be STM32_MCOSEL_PLLDIV2.

Giovanni
Post Reply