2023-02-05 02:13 PM
I have implemented a small I2C driver for stm32l432kc board and tried to use it to read from a couple of MPUs I have first:
what is going wrong is that:
I don't have analyzers to check the bus so I hope I am missing something obvious any idea about what might be the problem would be really appreciated
acc and gyro readings screen shot :
2023-02-07 06:41 AM
The problem was just using an unsigned buffer to store the values which resulted in negative values to be represented out of range, The zeros and the arbtration loss was because a small timeout delay was needed for the MPU after each transmission