cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H5 I3C SETGRPA

Phil91
Associate

Hello !

I am using the I3C interface between a STM32H563ZI and 2 LPS28 sensors. After a ENTDAA process I would like to send a SETGRPA but unfortunately it does not work. It seems the process fails during HAL_I3C_AddDescToFrame() due probably to a wrong frame description. I have not found any example. Here's the code I use for just one assigment. What is wrong ? What should be the right description to launch the SETGRPA for both sensors ?

Thanks for your help !

 

Capture d’écran 2024-07-17 à 16.35.13.png

1 REPLY 1
Foued_KH
ST Employee

Hello @Phil91 , 

Use 1 instead of  "aContextBuffers[I3C_IDX_FRAME_1].CtrlBuf.Size".

Let me know!
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.