Question
I am not reading the address of M24M02 E2prom
Hi,
I am using STM32F4-Discovery. I want to R/W M24M02 E2prom but not reading device address. Added code and datasheet. I tried AT24C256 E2prom other I2C devices by same code and it worked.
Thanks.
for(i=0; i<255; i++){
if(HAL_I2C_IsDeviceReady(&hi2c3, (uint16_t)(i), 2, 100) == HAL_OK ){
HAL_GPIO_TogglePin(GPIOD, GPIO_PIN_13);
break;
}
HAL_GPIO_TogglePin(GPIOD, GPIO_PIN_14);
HAL_Delay(25);
}