Skip to content

Enable 700 kHz I2C on more Onewheel-relevant controllers - #923

Merged
vedderb merged 5 commits into
vedderb:masterfrom
lukash:imu-i2c-enable-700khz
Jul 29, 2026
Merged

Enable 700 kHz I2C on more Onewheel-relevant controllers#923
vedderb merged 5 commits into
vedderb:masterfrom
lukash:imu-i2c-enable-700khz

Conversation

@lukash

@lukash lukash commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Enable 700 kHz I2C on most Onewheel-relevant controllers left out of the original PR. The pullups on all of them were verified with the manufacturers.

Thor300 / JF F6 are potentially problematic with 10k pullups, never manifested an issue in practice though. The I2C BB lib also enables the internal 40k pullups, which bring the overall resistivity down a bit more.

I also inquired about the ADV500 (I think it's pretty safe to assume the pullups are the same as on ADV200 which is a copy of Little FOCer v3 but wanted to confirm) but still waiting for a reply so posting these now and I'll post ADV500 once I get a response.

Please don't squash commits.

I don't see a 7.01 branch yet so assuming it'll be branched off master later and these will get in.

lukash added 3 commits July 25, 2026 16:29
According to the datasheet BMI160 can go up to 1 MHz. According to
manufacturer, the pullups are 3.9 kOhm.
These controllers have 10 kOhm pullups (which could be too slow for this
bus speed) but in practice the faster speed has worked without any
issues on multiple units of both controllers.
The pullups are 1.2 kOhm, safe to enable.
@lukash

lukash commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

After the confirmation of ADV500 pullups, adding the enablement for that too (plus a small cleanup).

@vedderb
vedderb merged commit b1a86a3 into vedderb:master Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants