Skip to main content
Aozca.1
Visitor II
March 12, 2020
Question

How can i solve hal_error i2c communication problem with mpu6050 ?

  • March 12, 2020
  • 0 replies
  • 471 views

the screnshoots here. When i didnt forward the codes step-by-step, it didnt get right number for check and it skips the if blocks, this is just hal_i2c_mem_read function. For hal_i2c_mem_write, it gets stuck.

Connected pins: 3v3,gnd, sda, and scl

i2c gpıo's: open drain

i2c clock: standard mode and speed is 100 kHz

and clock : 72 MHz

I can share any details if u want.

This topic has been closed for replies.