Hi Bob, Thanks for your prompt reply and valuable suggestions. Already, I have attempt all the suggestions of yours. Also, verify what I have a written to register and read back using Register Read command. It seems to good. There is no error in this iteration. My code is working by little change in I2C configuration. Here is my I2C Configuration: { UCB0CTLW0 |= UCSWRST; // Put eUSCI_B in reset state UCB0CTLW0 |= UCMODE_3 | UCSSEL_3 | UCMST | UCSYNC; // I2C master mode, SMCLK UCB0BRW = 0x8; // Set Bit rate 100 kHz UCB0I2CSA = 0x40; // ADC122C04 slave Device address UCB0CTLW0 &= ~UCSWRST; // Software Reset Disable } I have a change UCB0BRW register setting only. Chnaged UCB0BRW = 0x33 to UCB0BRW = 0x8 After changing this setting I also getting accurate counts on ANI0 Channels. Regards, Kelvin Kalariya
↧