Skip to main content
Xonier
Associate III
April 8, 2024
Solved

STM32H563ZIT6 I3C master read buffer question

  • April 8, 2024
  • 5 replies
  • 1873 views

          Hello! I dont know where to find received data after HAL_I3C_Ctrl_Receive_IT progress.

          I set I3C of my H563 as master and sent ENTDAA and master read , the slave answered both command. The interrupt of slave reflects that master read is done and the data in tx-fifo is transferred correctly. But when i read RxBuffer of the HAL_I3C_Ctrl_Receive_IT i find nothing but 0.

          Can anybody help me?Thanks!

This topic has been closed for replies.
Best answer by Foued_KH

You can check the available examples ( Private Read/Write ) in the STM32Cube FW : 
STM32Cube_FW_H5_V1.2.0\Projects\NUCLEO-H503RB\Examples\I3C

some details are in this Application Note - Section 9.8 : https://www.st.com/resource/en/application_note/an5879-introduction-to-i3c-for-stm32h5-series-mcu-stmicroelectronics.pdf

Foued

5 replies

Foued_KH
ST Employee
April 8, 2024

Hello @Xonier ,

Could you please use an oscilloscope to check SDA and SCL behavior?
Make sure that the dynamic addressing is done correctly .

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.
Xonier
XonierAuthor
Associate III
April 9, 2024

Hello!

        I am sure ENTDAA is done because i have read the address in slave regs . I am thinking about if i used HAL_I3C_Ctrl_Receive_IT incorrectly.

Foued_KH
Foued_KHBest answer
ST Employee
April 9, 2024

You can check the available examples ( Private Read/Write ) in the STM32Cube FW : 
STM32Cube_FW_H5_V1.2.0\Projects\NUCLEO-H503RB\Examples\I3C

some details are in this Application Note - Section 9.8 : https://www.st.com/resource/en/application_note/an5879-introduction-to-i3c-for-stm32h5-series-mcu-stmicroelectronics.pdf

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.
Visitor II
July 14, 2024

Can you share how it was resolved?Thank you