cancel
Showing results for 
Search instead for 
Did you mean: 

Is this a bug in the HAL library about smbus?

one V
Associate III

0690X000006DcShQAK.png

0690X000006DcV7QAK.png

0690X000006DcYfQAK.png

0690X000006DcYkQAK.png

13 REPLIES 13

No, no. I already know what you said, and this is why I reported the bug to you. I want to ask is the I2C(i2c+BDMA) mode working properly?

0690X000006DgbOQAS.png0690X000006DgbTQAS.png

​Hi @one V​ 

No problem when using the I2C (I2C + BDMA) mode as long as there is the definition of hdmatx and hdmarx in the stm32h7xx_hal_i2c.h file.

0690X000006DguzQAC.png

0690X000006Dgv4QAC.png

0690X000006DgvTQAS.png

Regards,

Nesrine.

Yes, the generated code will not report an error, which I also know. But what I mean is, have you actually measured it available?

Thank you again for your answer.

Perhaps you can use the generated code to read an i2c sensor.