Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN
Hello,
I am trying to get information (acceleration and angular rate) from the MPU 6050 sensor which is connected to the TMS570LC4357 micro.
I am able to obtain this information connecting this sensor to a Arduino Mega board. However, when I try to replicate the code in for the Hercules micro I do not obtain the same data (I get random numbers). I am doing the same operations in both cases and I am sure that the MPU 6050 is returning information. It is just that this information does not make sense. Just a couple of times I was able to get the right information, but when I tried a second time it returned random numbers again.
I have the Arduino mega, the MPU 6050 and the Hercules micro connected to the same bus. I have tried with interruptions, disabling the internal pull-up resistors and using external resistors, etc. but nothing seem to work. The connection Arduino-Hercules is totally fine (Hercules as master) and Arduino MPU6050 is also correct.
Do you have any idea what could be causing this strange behaviour?
Thanks for your time and consideration. Best regards,
Sergio