I2c Clock Speed Change for Navigator

Hi All,

I am trying to get a smart battery BMS to communicate with the navigator board. I am able to successfully poll the battery for information using an esp32 MCU and communication is reliable. However when I hook it up the navigator board it is intermittent and will eventually drop out.

My theory is that the BMS cannot at operate at the fast i2c rate of 400kHz, as the esp32 is using 100kHz, eventually it will drop out and pull the clock line low indicating a locked I2c bus.

I am trying find how to reduce the i2c bus clock speed for the navigator to 100kHz. I have already attempted changing ‘/boot/config.txt’ with the line ‘dtparam=i2c_arm=on,i2c_arm_baudrate=100000’, however afterwards the navigator will not boot.

Any advice on this would be greatly appreciated.



@williangalvani - any help would be appreciated Will.

Hi @Lewis_Miles, welcome to the forum :slight_smile:

I asked about this internally and was told BlueOS already specifies baudrates for the different I2C ports in /boot/config.txt, and you should be able to change those lines as relevant. I2C6 is the one that’s exposed externally via the Navigator connectors, and is configured with the line

1 Like