2025-06-19 2:41 AM
Hello,
I'm currently working with I3C in Target mode using STM32H7S3L8. I need to detect when the Controller sends a request to read data from the Target.
In I2C, we can check the Address Match (ADDR) flag to know when the master sends a frame to the slave.
Is there a similar flag or event in I3C to detect when the Controller is requesting data from the Target (i.e., a read request)?
I'm using the I3C HAL/LL drivers, and I want to handle this case to prepare and send the correct response.
Thanks in advance!
2025-06-19 5:29 AM
Hello,
And good point. On I2C, it was possible to use an information of direction through a specific callback named
2025-06-19 7:10 AM
Hello,
Thanks Jerome for replying,
In I3C, we can use the RXFNEF flag to check for data reception in the target (to read incoming data).
I would like to know which flag I can use in the target to detect when the controller is requesting data, meaning the target must transmit data to the controller.
Thank you in advance.
2025-06-19 7:55 AM
If you want to manage Target transmit communication at flag level, without using HAL, for Target you can check the flag TXFNFF into I3C_EVR register.
For more details, please check the reference manual of the product a section "TX-FIFO management, as target"
Thx and Regards