CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

ADS1115 problem
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Ttelmah



Joined: 11 Mar 2010
Posts: 19225

View user's profile Send private message

PostPosted: Sun Oct 18, 2020 1:18 am     Reply with quote

Seriously, the 'missing low nibble', is exactly what you'd expect, if you
have an ADS1015, rather than the ADS1115. So triple check. Get a
magnifying glass on the part number, and check it doesn't look at all
odd in this part. Annoyingly the device doesn't seem to have an option
to read it's ID, so it can't be software tested. The 1015, is about 1/3rd
the price of the 1115, so it'd be quite a logical thing for companies to forge
this number change, and 'make a killing'....
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Oct 18, 2020 2:05 am     Reply with quote

On the ADS1015, the bottom 4 bits of Lo_thresh Register and Hi_thresh Register
are read only. But on the ADS1115, they are shown as R/W in the data sheet.
So a program could be created to check for this.

ADS1115 data sheet (includes ADS1113, 1114):
https://www.ti.com/lit/gpn/ADS1113

ADS1015 data sheet:
https://www.ti.com/product/ADS1015
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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


Powered by phpBB © 2001, 2005 phpBB Group