Skip to content

I2C not working on NUCLEO-L4R5ZI #13162

@wdx04

Description

@wdx04

Description of defect

On NUCLEO-L4R5ZI boards, a Mbed OS program can not communicate with I2C devices.
Tested devices are SHT20/SHT30 sensors and a SSD1306 OLED display with I2C interface.
All read/write operations to the connected I2C devices returns 1.
I have tested the same program on a few other NUCLEO boards, with the same I2C devices and wiring, all work without a problem.
The tested boards are:
NUCLEO-H743ZI2
NUCLEO-G071RB
NUCLEO-L432KC
NUCLEO-L476RG
NUCLEO-F767ZI
Also I wrote a similar program using the Arduino Framework, which works with all above boards including NUCLEO-L4R5ZI, so it's probably not a hardware issue.

Target(s) affected by this defect ?

NUCLEO-L4R5ZI

Toolchain(s) (name and version) displaying this defect ?

default ARMC6 toolchain with Mbed Studio

What version of Mbed-os are you using (tag or sha) ?

mbed-os-6.0.0 #165be79392ae7b1bee4388d2bc8ed8281978f07c

What version(s) of tools are you using. List all that apply (E.g. mbed-cli)

MBed Studio 0.96 and 1.0

How is this defect reproduced ?

Connect any I2C device to the default I2C pins D14/D15 and run a simple I2C scan program.
No I2C device can be found.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions