Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Config Xmega ADC channels above #3

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR
View previous topic :: View next topic  
Author Message
Spock

Bascom Member



Joined: 24 May 2004
Posts: 8
Location: Toronto

canada.gif
PostPosted: Mon Dec 15, 2014 4:35 pm    Post subject: Config Xmega ADC channels above #3 Reply with quote

Hi,

How do you config the ADC in the Xmegas that have a 12 Ch ADC? such as XM32a4u

using any channel numbers above 3 in the Config Adca statement causes a compile error.
Ch4_gain = 1 , ch4_inp = single_ended ... is not allowed ...

Have I missed something here?
All the Help files keep saying there are only 4 ADC channels.
but the new chips have many more.

Thanks,
Brent

(BASCOM-AVR version : 2.0.7.7 )
Back to top
View user's profile
EDC

Bascom Expert



Joined: 26 Mar 2014
Posts: 971

poland.gif
PostPosted: Mon Dec 15, 2014 5:34 pm    Post subject: Reply with quote

Do You read this? Wiki

http://wiki.mcselec.com/bavr/CONFIG_ADCX
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum