2026-05-20 10:53 AM
Hello,
I am looking for an example of how to use private I3C transfers for STM32C562RE. I read the I3C examples posted on Github but I did not find any controller or target examples that use HAL_I3C_CTRL_Transfer_DMA and HAL_I3C_TGT_Receive_DMA for private transfers using HAL2.
Your help would be appreciated,
Gil
Solved! Go to Solution.
2026-05-22 1:19 AM
Hello @gil_dobjanschi
Unfortunately, the current STM32CubeC5 package does not include any examples of I3C private transfers. However, such examples will be made available soon.
2026-05-21 1:29 AM
Hello @gil_dobjanschi
Please take a look at the example direct_dma_controller, which use HAL_I3C_CTRL_Transfer_DMA.
2026-05-21 4:50 AM - edited 2026-05-21 7:39 AM
Thank you @Saket_Om for the reply!
Yes, I am familiar with that example, but that's not what I had in mind. The example you indicated shows the use of DMA for Command Command Codes (CCC). What I am looking for is an example of private transfers.
I made more progress in figuring out how it works. I can now initiate private write commands from the Controller and receive them on the Target. Reads don't work yet because I am still figuring out how to deal with them.
I got In-Band-Interrupts working, but I would like to know how to handle the simple case where the application is listening for Controller requests (HAL_I3C_TGT_Receive_DMA) and needs to issue an IBI.
I think the Community would benefit from a full example of how to handle private transfers for the Controller and for the Target. It would fit nicely with the rest of the examples, which turned out to be very useful.
Thank you,
-Gil
2026-05-22 1:19 AM
Hello @gil_dobjanschi
Unfortunately, the current STM32CubeC5 package does not include any examples of I3C private transfers. However, such examples will be made available soon.
2026-05-22 1:24 AM
Thank you @Saket_Om, I appreciate the help!
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.