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.

ADS1292R: After the continuous reading was stopped, the MISO signal fluctuated randomly and failed to be written to the register.

Part Number: ADS1292R
Other Parts Discussed in Thread: ADS1292

esp32 with the esp-idf architecture

void ads1292_init(void)
{
    ads1292_reset();
    vTaskDelay(pdMS_TO_TICKS(1000));
    ads1292_cmd(ADS1292_CMD_RESET);
    vTaskDelay(pdMS_TO_TICKS(30));
    gpio_set_level(GPIO_START, 0);
    vTaskDelay(pdMS_TO_TICKS(30));
   

    // ads1292_cmd(ADS1292_CMD_STOP);
    // vTaskDelay(pdMS_TO_TICKS(30));
    ads1292_cmd(ADS1292_CMD_SDATAC);
    vTaskDelay(pdMS_TO_TICKS(30));

    ads1292_write(ADS1292_REG_CONFIG1,0x04);
    vTaskDelay(pdMS_TO_TICKS(30));
    ads1292_write(ADS1292_REG_CONFIG2,0b10100000);
    vTaskDelay(pdMS_TO_TICKS(30));
    ads1292_write(ADS1292_REG_LOFF,0b00010000);
    vTaskDelay(pdMS_TO_TICKS(30));
    ads1292_write(ADS1292_REG_CH1SET,0b01000000);
    vTaskDelay(pdMS_TO_TICKS(30));
    ads1292_write(ADS1292_REG_CH2SET,0b01100000);
    vTaskDelay(pdMS_TO_TICKS(30));
    ads1292_write(ADS1292_REG_RLD_SENS,0b00101100);
    vTaskDelay(pdMS_TO_TICKS(30));
    ads1292_write(ADS1292_REG_LOFF_SENS,0x00);
    vTaskDelay(pdMS_TO_TICKS(30));
    ads1292_write(ADS1292_REG_RESP1,0b11110010);
    vTaskDelay(pdMS_TO_TICKS(30));
    ads1292_write(ADS1292_REG_RESP2,0b00000011);
    vTaskDelay(pdMS_TO_TICKS(30));
    ads1292_read(0x00);
    vTaskDelay(pdMS_TO_TICKS(30));
    ads1292_cmd(ADS1292_CMD_RDATAC);
    vTaskDelay(pdMS_TO_TICKS(30));
    gpio_set_level(GPIO_START, 1);
    vTaskDelay(pdMS_TO_TICKS(30));
}

And attempt to write CONFIG1 0x04 and set 2ksps. However, the change frequency of the DRDY pin remains the default 500Hz.

Write register error

Error in reading the register (IO register)

  

I will be very grateful for any reply you make.