Skip to main content
Graduate
April 8, 2024
Solved

STM32H563ZIT6 I3C master read buffer question

  • April 8, 2024
  • 2 replies
  • 1825 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

    2 replies

    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


    XonierAuthor
    Graduate
    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_KHAnswer
    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

    Visitor II
    July 14, 2024

    Can you share how it was resolved?Thank you