cancel
Showing results for 
Search instead for 
Did you mean: 

Does H503RB support 12.5Mhz for I3c?

LukeJang522
Associate III

Hi, 

when I tried to set the clock  of I3C which is 12.5Mhz, it didn't work properly. 

Do I need something else to have 12.5mhz frequency?

 

Thanks,

Luke. 

 

7 REPLIES 7
STOne-32
ST Employee

Dear @LukeJang522 ,

 

Here is a tutorial on I3C step by step . 
https://wiki.st.com/stm32mcu/wiki/Getting_started_with_I3C
if you can share your system clocks and a screenshot to help .

Cheers,

STOne-32

Hi,

the tutorial that you sent, I3C frequency setting is 3000khz.

  • Set Frequency I3C controller to 3000 kHz, as shown below.

screenshotofclocksetting.png

 

I tried 12500KHz, but it didn't work.  I wasn't even able to transmit the data. 

12500khz_nack.pngThanks.

Hi @LukeJang522 ,

Can you share your I3C configuration if set in push-pull mode as example ?

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

Let me know 

STOne/32

 

Please see the below screen shot.Pin&clock_setting.pngparameters_setting.png

I tried 3000Khz, I3C communication is working well but  clock is lower than 3Khz.

below screen shot is for 3000Khz. 

20240327090133.bmp

 

Foued_KH
ST Employee

Hello @LukeJang522 , 

Could you please specify your target : sensor , stm32h5 , .. ? 

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.

Foued_KH, 

 

My target board is X-NUCLEO-IKS02A1. I was going to try with  IKS01A3, but it was out of stock. 

Do you think there might be some problem? 

but I can see the data communication by scope when I tried 3000Khz. 

 

Thanks. 

Luke.

 

 

I don't think that X-NUCLEO-IKS02A1 supports sensors with I3C interface .

You can use X-NUCLEO-IKS01A3 ( LSM6DSO , LPS22HH ) or X-NUCLEO-IKS4A1 and for more details about I3C sensor communication, check this path : 

STM32Cube_FW_H5_V1.2.0\Projects\NUCLEO-H533RE\Examples\I3C\I3C_Sensor_Private_Command_IT ( X-NUCLEO-IKS4A1)

STM32Cube_FW_H5_V1.2.0\Projects\NUCLEO-H503RB\Examples\I3C\I3C_Sensor_Private_Command_IT (X-NUCLEO-IKS01A3)

Thank 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.