NRF_ERROR_DRV_TWI_ERR_ANACK ?

Dear Members,

I want to use MAX17048 and getting thiis message  :

<error> app: ERROR 33281 [NRF_ERROR_DRV_TWI_ERR_ANACK] at ..\..\..\MAX17048.c:71

void MAX17048_init_i2c(uint32_t scl, uint32_t sda)
{
        _i2caddr = MAX17048_WRITE_ADDR;
        twi_master_init(scl, sda);
}

//Init MAX17048
       MAX17048_init_i2c(MAX17048_CONFIG_SCL_PIN, MAX17048_CONFIG_SDA_PIN);
      MAX17048_write();

TWI code :

 uint8_t buffer[3] = {0xFE,0x54,0x00};
                    
        ret = nrf_drv_twi_tx(&m_twi_master, 0x6C, buffer, sizeof(buffer), false);
              APP_ERROR_CHECK(ret);

I have others I2C Devices, SSD1306 and 24C16 and they are initialized before this chip,

Any clues,

Thanks

Related