Skip to content

Incorrect I2C port assignments on Adafruit RP2040 Feather #1465

@emeb

Description

@emeb

The Adafruit RP2040 Feather board assigns both the SCL/SDA pins on its header and Qwiic connector to RP2040 pins 2,3 which is defined as Wire1 in the file variants/adafruit_feather/pins_arduino.

// Wire
#define PIN_WIRE0_SDA  (24u)
#define PIN_WIRE0_SCL  (25u)
#define PIN_WIRE1_SDA  (2u)
#define PIN_WIRE1_SCL  (3u)

As a result it's necessary to override the default port value in most all interfacing examples which assume Wire/Wire0. This is especially problematic for the miniTFTwing which does not allow overriding the default port in its constructor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions