Sign in to follow this  
Followers 0
LeifU

ADC 16-bit on MSP430F2013

5 posts in this topic

Hi

 

I cannot make the ADC 16-bit to work on a launchpad with MSP430F2013: can someone explain how it works and/or send me a example?

 

I previously used the 10-bit ADC with MSP430G2452 but needed better resolution so I switched to F2013.

 

I use energia-0101E0017-linux64 and selected LaunchPad w/ msp430f3321 which seems to work for other things (blinking for instance) but analogRead does not.

 

I would really appreciate some feedback...

 

Leif

 

Share this post


Link to post
Share on other sites

Leif:

 

The SD16_A on the 2013 is very different, as you've learned. The specific examples you'll be wanting to look at from TI are:

 

msp430x20x3_sd16A_01.c

msp430x20x3_sd16A_02.c

msp430x20x3_sd16A_03.c

 

There's also code worth looking at on the TI wiki site

 

HTH

 

Bob

Share this post


Link to post
Share on other sites

If the Energia libraries do not have support fo the SD16 module, then your only choice is to program the registers directly. Which is what these examples show.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0