You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PIO0_10/PIO0_11 need to be set to standard/fast mode in their respective IOCON registers for them to be used with the I2C API. This is the default setting, and currently the I2C API doesn't verify that this hasn't been changed.
I'm not at all sure what this should look like in practice, but the various IOCON settings of each pin should probably be tracked at compile-time, and the I2C API should require the setting to be set correctly.
The text was updated successfully, but these errors were encountered:
hannobraun
changed the title
Verify at compile-time that I2C pins have been set to the right mode
I2C: Verify at compile-time that pins have been set to the right mode
Jun 15, 2018
PIO0_10/PIO0_11 need to be set to standard/fast mode in their respective IOCON registers for them to be used with the I2C API. This is the default setting, and currently the I2C API doesn't verify that this hasn't been changed.
I'm not at all sure what this should look like in practice, but the various IOCON settings of each pin should probably be tracked at compile-time, and the I2C API should require the setting to be set correctly.
The text was updated successfully, but these errors were encountered: