i2c reading problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i2c reading problem

688 Views
aravindpb5009
Contributor III

Hai,

                                                                     I am using LPC824 mcuxpresso IDE  , i need 16 bit adc o/p but in lpc824 internally having only 12 bit  for  that i chosen the external adc for 16 bit resolution ADC IC name  (ADS1115   I2C )  . In this ic simply we can connect the adc  to  the controller with sda, scl pin means it can automatically read the values, but i read the i2c adc in i2c interrupt  with controller it doesn't read any value from the ads1115 adc . in MCUXPRESSO some examples are having in that example some i2c LED  coding are available that was working but i2c reading example is not having.  i verified in our datasheet also but i didn't got any solution from datasheet .my LPC824 is master and ads1115 is slave .  please let me know how to read the i2c value in the lpc824 and also provide some example code for read the i2c values. checked my ADS1115  is working are not for that clarification used the arduino uno controller  connect the sda ,scl in arduino uno my ADS1115 O/P was coming but in lpc824 having some problem plz let me know the brief explanation

Thanks & Regards 

Aravind P

Labels (1)
0 Kudos
1 Reply

514 Views
soledad
NXP Employee
NXP Employee

Please see the answer in the following thread;

https://community.nxp.com/thread/506331

0 Kudos