Skip to content

XIAO RP2040 failed @ Wire.write (I2C) #594

@numeru55

Description

@numeru55

Discussed in #591

Originally posted by numeru55 May 23, 2022
Using both

rp2040:rp2040    2.0.2   2.0.2  Raspberry Pi Pico/RP2040                  
Seeeduino:rp2040 2.7.2   2.7.2  Seeed XIAO RP2040  

I2C scan is OK for both core:

    Wire.beginTransmission(0x40);
    byte error = Wire.endTransmission();

But Wire.write() is ignore only for earlephihower:

    Wire.beginTransmission(0x40);
    Wire.write(byte(0));
    byte error = Wire.endTransmission();

Seeed core : address byte and 0 are transmitted normally
earlephihower: nothing is transmitted on I2C line. Why?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions