This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ADS1298: Code problem

Part Number: ADS1298


Hi: When i used ADS1298, after the initial flow after power up ,i read the  config register,and found the value is not correct, seen in the following figure ,the config2 register 's value is 0x00,and the correct reset value is 0x40,  strangely ,the other config register's value is correct, I don't know why?

 

                                                              FIGURE                            1

my initial code is :

ADS_START_LOW;  
ADS_REST_LOW;
ADS_CS_DISABLE;

ADS_REST_HIGH;
HAL_Delay(1); // delay 1ms
ADS_REST_LOW;
HAL_Delay(1);
ADS_REST_HIGH;
HAL_Delay(20);

ADS_START_LOW;
ADS_START_HIGH;

ADS_START_LOW;
adsSTART();
adsSTOP();
HAL_Delay(10);
adsSDATAC();
HAL_Delay(10);

  • Hello Wang,

    It looks like there are a couple of different values in the datasheet for CONFIG2's reset value. In table 16 it says the reset value is 0x40, but then the actual binary shows that bit 6 is zero which would make 0x40 impossible. I think the reset value of 0x40 is a mistake and I will work to get the datasheet updated. In any case I do not believe it should cause you any issue.

    Brian