Thanks to visit codestin.com
Credit goes to github.com

Skip to content

I2C not working under RIOT with U8G2 pkg #16381

@silklaasboer

Description

@silklaasboer

Description

Getting no i2c clockline and data line change. With the nucleo-l452re board. when using the u8g2 pkg included in the makefile.

Steps to reproduce the issue

My studentgroup and I want to setup a Oled display, so we can display battery info on it. sadly enough my i2c is not doing anything when analysing it with a logic analyser attachted to my computer.

I am using an SSD1306 128x32 Oled display by Univision

We first tested the display with an arduino and it all worked fine with the display. now we are trying it on the nucleo-l452re and it is not showing anything.

display I/O connections

SCL -> PB8
SDA -> PB9
3V3 -> 3V3 OR 5V -> 5V
GND -> GND

Now if i try to flash the file to the board i'll get no error's at all and its looping to the code just fine, i tested it with extra print statements to the serial monitor.

Thanks in advance!
Actual results
Screenshot_5

Screenshot_272

Operating system: UBUNTU on a docker with Windows 10 as host
Build environment: ARM toolchain

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: pkgArea: External package portsType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)Type: questionThe issue poses a question regarding usage of RIOT

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions