STM32F03x4/6/8 ADC clock tree Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
dflogeras
Posts: 212
Joined: Tue Sep 03, 2013 8:16 pm
Has thanked: 7 times
Been thanked: 19 times

STM32F03x4/6/8 ADC clock tree  Topic is solved

Postby dflogeras » Mon Mar 26, 2018 1:23 am

Hi,

I noticed when resurrecting an old project, that in r9086 in SVN, in the file os/hal/ports/STM32/STM32F0xx/hal_lld.h, the settings regarding the ADC clock selection were removed.

It seems that for the F070x6, F070xB, F030xC, and for F0x1 F0x2 F0x8 devices this is true (the only clock for ADC is HSI14), but the smaller F03x4/6/8 devices do have that option available to select between HSI14 and PCLK/2 or PCLK/4 (see Fig 10 in RM0360)

Is this a bug, or does ChibiOS not support any of the lower 030 family?

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: STM32F03x4/6/8 ADC clock tree

Postby Giovanni » Fri Jul 27, 2018 2:46 pm

bump

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: STM32F03x4/6/8 ADC clock tree

Postby Giovanni » Sat Jul 28, 2018 9:08 am

Hi,

The setting is obsolete, this is why it has been removed, from RM360:

Obsolete setting. To be kept at reset value, connecting the HSI14 clock to the ADC asynchronous clock input. Proper ADC clock selection is done inside the ADC_CFGR2 (refer to Section 12.11.5: ADC configuration register 2 (ADC_CFGR2) on page 216)

Giovanni


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 19 guests