Author Topic: Nuvo7802 configuration problem  (Read 3235 times)

Vievan

  • Newbie
  • *
  • Posts: 1
    • View Profile
Nuvo7802 configuration problem
« on: December 15, 2013, 12:59:29 PM »
hello friends ,
   I am new to this forum. currently iam working in a  project in which iam using Nuvo7802 adc. I configured it and it is getting stored in the appropriate register. but i am getting the same values from the adc data register even though i change the analogue input. I haved posted the coding can someone please point out the issue......

i2c_adc_write(0x00,0x01);
delay(3000);
i2c_adc_write(0x00,0x02);
delay(250);

do{

   temp= i2c_adc_read(0x00);
   display_numaric(temp);
   
   }while((temp&0x08)==0x00);
delay(10000);

display_alphabat("READY ");
/*******************************************************/
delay(3000);

i2c_adc_write(0x00,0x96);
delay(250);

/*******************************************************/
i2c_adc_write(0x01,0x21);
delay(250);


/*******************************************************/
i2c_adc_write(0x02,0x00);
delay(250);
/*******************************************************/
i2c_adc_write(0x15,0x30);
delay(250);


/*******************************************************/
i2c_adc_write(0x1B,0x20);
delay(250);

/*******************************************************/
i2c_adc_write(0x1C,0x00);
delay(250);


Micmiczy

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Nuvo7802 configuration problem
« Reply #1 on: July 27, 2017, 05:29:36 AM »
values from the adc data register even though i change the analogue input. I haved posted the coding can someone please point out the issue......

ดูเบอร์มือถือ

 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71