Skip to main content
Visitor II
August 13, 2020
Question

I am not reading the address of M24M02 E2prom

  • August 13, 2020
  • 3 replies
  • 880 views

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.0693W000003PEAqQAO.png

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);
}

    This topic has been closed for replies.

    3 replies

    Visitor II
    August 14, 2020

    may be hardware issue

    Visitor II
    August 14, 2020

    Yes problem from HW. We had 3 m24m02 but 2 piece is broken.

    Thank you.

    Visitor II
    August 17, 2020

    All the best !