November 09, 2024, 02:48:16 AM

STM32-LCD and M24C02WP

Started by Tuxford, March 10, 2021, 03:22:43 PM

Previous topic - Next topic

Tuxford

I have connected M24C02WP eeprom (i2c) using prototyping board to UEXT1. SDA to pin 5, SCL to pin 6. E0, E1, E2, WC are connected to GRND pin. It's powered from board too. But it doesn't work at all. Oscilloscope shows that level is always high with some fluctuations when Chibios tries to change state of line.

Why M24C02WP isn't compatible with STM32-LCD?

LubOlimex

It is the other way around - pin #5 of UEXT1 is SCL, pin #6 of UEXT1 is SDA. Refer to the schematic here:

https://www.olimex.com/Products/ARM/ST/STM32-LCD/resources/STM32-LCD-schematic.pdf
Technical support and documentation manager at Olimex