STM32H503RB I3C private communication
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-17 4:29 AM - last edited on ‎2023-06-19 7:29 AM by Amel NASRI
Hi all.
I tried to communicate(private) with my I3C slave device using STM32H503RB board.
To communicate with my device, I need to specify register address to write/read data.
i.e. Frame = (Start with Slave ID w/ W=0) + (register address w/ W=0) + (data to be written)
Is there any I3C HAL Functions like "I2C_Mem_Write"?
What I only found is "HAL_I3C_Ctrl_Transmit" which use default address pointer.
If there is no HAL Function doing that.
I want to know the work around for this.
thank you
Solved! Go to Solution.
- Labels:
-
I3C
-
STM32H5 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-17 4:49 AM
Hello @GLee.16​ ,
For the private communication with the I3C target you can just send the address in the TXbuffer ( uint8_t TXbuffer [1] = {0x0F} for example ) and then you can do a Receive.
Now, there's not a functions similar to HAL_I2C_Mem_Read/HAL_I2C_Mem_Write for I3C.
For more details about private communication, please check the 9.8 Private read section in the I3C Application Note Introduction to I3C for STM32H5 series MCU - Application note
Hope I helped you!
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-17 4:49 AM
Hello @GLee.16​ ,
For the private communication with the I3C target you can just send the address in the TXbuffer ( uint8_t TXbuffer [1] = {0x0F} for example ) and then you can do a Receive.
Now, there's not a functions similar to HAL_I2C_Mem_Read/HAL_I2C_Mem_Write for I3C.
For more details about private communication, please check the 9.8 Private read section in the I3C Application Note Introduction to I3C for STM32H5 series MCU - Application note
Hope I helped you!
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-18 4:22 AM
I appreciate for your help.
I checked my board is working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-18 4:25 AM
If this solves your problem, please mark my answer as "Best Answer" by clicking on the "Select as Best" button, this can be helpful for Community users to find this solution faster.
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.
