cancel
Showing results for 
Search instead for 
Did you mean: 

How can i solve hal_error i2c communication problem with mpu6050 ?

Aozca.1
Associate

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.

0 REPLIES 0