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?
STM32F03x4/6/8 ADC clock tree Topic is solved
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
- Giovanni
- Site Admin
- Posts: 14457
- 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
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
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
Who is online
Users browsing this forum: No registered users and 53 guests