Search found 2 matches

by carlo
Thu Jan 08, 2015 6:39 pm
Forum: STM32 Support
Topic: STM32F051 ADC problem with CHIBIOS 2.6.6
Replies: 2
Views: 1958

Re: STM32F051 ADC problem with CHIBIOS 2.6.6

Thank you, I completely missed the ADC_CFGR1_CONT even if I looked at the demo. :cry:

Carlo
by carlo
Thu Jan 08, 2015 6:07 pm
Forum: STM32 Support
Topic: STM32F051 ADC problem with CHIBIOS 2.6.6
Replies: 2
Views: 1958

STM32F051 ADC problem with CHIBIOS 2.6.6

Hello to all,
I just moved my project from CHIBIOS 2.6.5 to 2.6.6 and now I have a problem with the ADC initialization.
When I start the ADC1 the system get stuck on on ADCStart, failing on :

chDbgAssert((adcp->state == ADC_STOP) || (adcp->state == ADC_READY),
"adcStart(), #1", "invalid state ...