Open rei-vilo opened 5 years ago
This requires us to sync with the Arduino Wire API which introduced a setClock() function to set the clock to a value other than the standard 100kHz. When this is implemented, we can default the clock to 100kHz allowing faster clocks through the setClock() API.
I²C is configured in fast mode 400 kHz by default.
https://github.com/energia/msp432r-core/blob/0faf18b698c69007ca1a132bd61c54a502158f3b/cores/msp432r/ti/runtime/wiring/Wire.cpp#L123
Provide standard mode 100 kHz for compatibility and fast mode plus 1 MHz as well.