Jump to content
Sign in to follow this  
StevenSam

CC1310 LaunchPad - Setting internal ADC reference

Recommended Posts

Hi All,

 

I am working on a project using the CC1310 LaunchPad, and it will be powered directly from a 3V (nominally) battery.

 

I want to use the ADC to accurately read the voltage from one of my sensors, and the problem that I am having is that the reference seems to be relating to the voltage the LaunchPad is running from.

 

I have tried using analogReference(), but it wont compile with the parameter INTERNAL1V5, and when i try INTERNAL2V5 it does compile, but it still seems to be using the battery voltage as the ADC reference.

 

Please can someone explain how I can get a stable voltage reading on the ADC despite the variation in the battery voltage?

 

I am also designing a custom PCB for this project, based on the LaunchPad reference design, if that helps?

 

Additionally, it would be very helpful to monitor the battery level. Can the cc1310 do this, or will I need to connect the battery to an ADC input pin?

 

 

Regards,

-Steve

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  

×