X NUCLEO 53L7A1 with I2C COMMUNICATION
- April 7, 2025
- 1 reply
- 701 views
Edit by ST Moderator: This post has been translated from French to comply with the ST Community Terms and Conditions (§10.2).
Hello to the ST community
I have a problem with my X NUCLEO 53L7A1. I want to use it with a NUCLEO F401RE for intelligent presence detection but I can't manage it after several attempts.
Here is the output I have in my serial monitor:
I2C initialised at 100 kHz
I2C state after init :
- SCL (PB8) : HIGH
- SDA (PB9): HIGH
Program started!
Initialisation X-NUCLEO-53L7A1...
- I2C address: 0x29
- VDDIO (PB0): HIGH
- LPn (PA10) : HIGH
- SCL (PB8): HIGH
- SDA (PB9): HIGH
Note: Check J9 (2-3) for I2C mode
Sensor reset...
I2C scan in progress...
I2C device detected at address: 0x29
I2C scan complete.
I2C status before test: 32
Sensor detected at 0x29!
Manual reading of register 0x00F0...
Value read from register 0x00F0: 0x00
Enclosed is my main.c
