I am a new oDrive (v3.5, 48V) user, and really happy with how it works and how well communication goes with the native protocol and the ASCII protocol.
I’ve found this Arduino I2C library, but can not wrap my head around how to implement it, so until now I haven’t tried if it works from scratch because I do not know what it will be doing.
Via the oDrive Tool, I have activated I2C with
enable_i2c_instead_of_can = True
but still get back a
i2c: addr = 0 (int) addr_match_cnt = 0 (int) rx_cnt = 0 (int) error_cnt = 0 (int)
I also tried to change the address manually by typing
In : odrv0.system_stats.i2c.addr = 104
which is not a valid command.
Would appreciate any advice to get I2C running, so I can try out the commands specified in the Arduino library.
Unfortunately I am not familiar with STM32 programming.
Thank you very much!