10-bit i2c addressing is missing from pico-sdk, but does in fact work. #720

Open
opened 2022-01-30 15:26:49 -06:00 by zbaltzer228 · 0 comments
zbaltzer228 commented 2022-01-30 15:26:49 -06:00 (Migrated from github.com)

Over at my repos readme I explore and explain how 10-bit i2c addressing is fully supported on the RP2040 but the RP2040 datasheet suggests otherwise in the case of slave mode operation. I have another forked repo with just the updates required to update the SDK to fully support 10-bit i2c addressing.

Basically I left all existing functions alone (obviously), and added about 13 new functions with identical names to the existing i2c functions but with a _10bit qualifier on the end.

But I should ask before doing so, why was 10-bit i2c addressing left out of the SDK ? Was it simply because it's not used much?

If you all decide it's something worth adding to the SDK, I'll open a PR against this issue.

Over at my [repos readme](https://github.com/zbaltzer228/pico-sdk-i2c-10bit-explained/blob/develop/README.md) I explore and explain how 10-bit i2c addressing is fully supported on the RP2040 but the RP2040 datasheet suggests otherwise in the case of slave mode operation. I have another [forked repo](https://github.com/zbaltzer228/pico-sdk) with just the updates required to update the SDK to fully support 10-bit i2c addressing. Basically I left all existing functions alone (obviously), and added about 13 new functions with identical names to the existing i2c functions but with a _10bit qualifier on the end. But I should ask before doing so, why was 10-bit i2c addressing left out of the SDK ? Was it simply because it's not used much? If you all decide it's something worth adding to the SDK, I'll open a PR against this issue.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-raspberrypi/pico-sdk#720
No description provided.