Skip to main content
JTari.1
Associate II
October 25, 2022
Question

I2C4 and BDMA doesnt hit the registered callback

  • October 25, 2022
  • 2 replies
  • 1084 views

..

This topic has been closed for replies.

2 replies

JTari.1
JTari.1Author
Associate II
October 25, 2022

I have configured the I2C with BDMA. I have setup my read and write buffers in SRAM4. Yet my transfer complete callback is never called. I have checked in my code the status of the I2C bus but it always stay busy.

Without DMA everything works perfect. Any help

Foued_KH
ST Employee
October 26, 2022

Hello @JTari.1​ :beaming_face_with_smiling_eyes:

Please provide more details on your case: hardware and Software used (working environment), so that it will be easier to understand the issue.

Foued

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
JTari.1
JTari.1Author
Associate II
October 31, 2022

Thankyou for the reply. I figured it out. I was registering the wrong callback.