Page 1 of 1

ADCConversionGroup in ChibiOS 2.6

Posted: Mon Jul 15, 2013 8:46 pm
by sigi
Hello Everybody,

I am new to ChibiOs and try to get the ADC running with the ChibiOS HAL libraries. There was a change in ADCConversionGroup from ChibiOs 2.4 to 2.6.. The variables to define/setup the capture process are not any longer part of the struct ADCConversionGroup. Unfortunately, this change seems to not be covered in the demo projects. I scanned all of them, but did not find a sample project reflecting the changes in ADCConversionGroup.

Is there anybody out there using ChibiOS 2.6, who can provide to me a short sample how to use the ADC?

Thank you very much for your support!

Re: ADCConversionGroup in ChibiOS 2.6

Posted: Mon Jul 15, 2013 9:15 pm
by Giovanni
Hi,

The ADCConversionGroup structure changes depending on the platform, under ./testhal you can find at least an ADC example for each platform.

Giovanni

Re: ADCConversionGroup in ChibiOS 2.6

Posted: Mon Jul 15, 2013 11:21 pm
by sigi
Hi Giovanni,

thank you for your quick response. It's sampling, now! :D

Thank you for your support,
Sigi