Skip to main content
Graduate
April 17, 2024
Solved

H563ZI I3C GETACCCR

  • April 17, 2024
  • 1 reply
  • 1483 views

Hello!

I set my H563ZI I3C to master and attach it to another I3C secondary master. Now i want to test GETACCCR CCC. The firmware "en.stm32cubeh5-v1-2-0" only has the case that slave request mastership from current master. I want to know how to send GETACCCR to secondary master so that i can give masetship to secondary master as MIPI I3C V1.1 said.

Thanks!

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

    Hello @Xonier , 

    The Command Code for the GETACCCR Direct CCC is 0x91.
    If a Controller-capable Device intends to pass the Controller Role to another Controller-capable Device, then it shall support this CCC. 

    Foued_KH_0-1713345615792.png

    You can send the command ( a direct transfer ) , you can check the section 9.7 Direct read , AN : Introduction to I3C for STM32 MCUs - Application note

    Let me know!
    Foued

    1 reply

    Foued_KHAnswer
    ST Employee
    April 17, 2024

    Hello @Xonier , 

    The Command Code for the GETACCCR Direct CCC is 0x91.
    If a Controller-capable Device intends to pass the Controller Role to another Controller-capable Device, then it shall support this CCC. 

    Foued_KH_0-1713345615792.png

    You can send the command ( a direct transfer ) , you can check the section 9.7 Direct read , AN : Introduction to I3C for STM32 MCUs - Application note

    Let me know!
    Foued

    XonierAuthor
    Graduate
    April 24, 2024

    Hello Foued ! Thanks for reply! Sorry for my late reply. Finally i send GETACCCR successfully . I use the code from "STM32Cube_FW_H5_V1.1.0\Projects\NUCLEO-H563ZI\Examples\I3C\I3C_Controller_Switch_To_Target" .

    And if i want to use DDR transfer which board should i buy? Thanks!

    ST Employee
    April 24, 2024

    Actually we support only SDR mode.