cancel
Showing results for 
Search instead for 
Did you mean: 

Looking for an I3C private transfer example

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

1 ACCEPTED SOLUTION

Accepted Solutions

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.

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.
Saket_Om

View solution in original post

4 REPLIES 4
Saket_Om
ST Employee

Hello @gil_dobjanschi 

Please take a look at the example direct_dma_controller, which use HAL_I3C_CTRL_Transfer_DMA. 

Saket_Om_0-1779352102417.png

 

 

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.
Saket_Om

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

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.

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.
Saket_Om

Thank you @Saket_Om, I appreciate the help!