Hi,
I'm using ChibiOS-16.x.y on a stm32f372. I'm currently using the SDADC to perform conversions, but this requires me to set HAL_USE_ADC.
The side effect I'm noticing is that I cannot scale the APB2 clock tree down as far as I'd like because it is requiring me to stay within the acceptable range for the ADC peripheral. Could this be addressed in a future version? Is there a technical reason I shouldn't be able to do this?
Thanks,
Dave
STM32F37x ADC vs SDADC clocks Topic is solved
- 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: STM32F37x ADC vs SDADC clocks
Hi,
Moving this in "bug reports", this limitation is not intentional, probably the check should be modified.
Giovanni
Moving this in "bug reports", this limitation is not intentional, probably the check should be modified.
Giovanni
- 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:
- 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: STM32F37x ADC vs SDADC clocks
Hi,
I committed a change in trunk about this. Will backport if requested.
Giovanni
I committed a change in trunk about this. Will backport if requested.
Giovanni
Re: STM32F37x ADC vs SDADC clocks
Hey Giovanni, thanks for this patch
It looks like you may have a copy/paste error in 12060, you repeated SDADC1 three times, I bet you meant SDADC1 | SDADC2 | SDADC3.
It looks like you may have a copy/paste error in 12060, you repeated SDADC1 three times, I bet you meant SDADC1 | SDADC2 | SDADC3.
- 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: STM32F37x ADC vs SDADC clocks
Sorry about that, lines 856 and 862 of os/hal/ports/STM32/STM32F37x/hal_lld.h
https://sourceforge.net/p/chibios/svn2/12060/
https://sourceforge.net/p/chibios/svn2/12060/
- 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: STM32F37x ADC vs SDADC clocks
Hi,
Fixed as bug #974. There was also another small problem.
Giovanni
Fixed as bug #974. There was also another small problem.
Giovanni
Who is online
Users browsing this forum: Bing [Bot] and 41 guests