ADCConversionGroup in ChibiOS 2.6

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Post Reply
sigi
Posts: 2
Joined: Mon Jul 15, 2013 8:19 pm

ADCConversionGroup in ChibiOS 2.6

Post 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!
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: ADCConversionGroup in ChibiOS 2.6

Post 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
sigi
Posts: 2
Joined: Mon Jul 15, 2013 8:19 pm

Re: ADCConversionGroup in ChibiOS 2.6

Post by sigi »

Hi Giovanni,

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

Thank you for your support,
Sigi
Post Reply