2023-07-24 05:02 AM - edited 2023-07-24 09:46 PM
I used the NUCLEO‑H503Rb and X-NUCLEO-IKS01A3 boards to do the I3C protocol sample to get the sensor data on X-NUCLEO-IKS01A3 boards.
I use the I3C sample program in STM32CubeIDE 1.13.0
When I press the USER button on the board,
and I get the following waveform ,I want ask why nack?
I alreadly check the X-NUCLEO-IKS01A3 boards voltage and sensor voltage is 3.3V and 1.8V,or have any other must chek?
Has any engineer encountered this problem? or some one can help me ,thanks
Solved! Go to Solution.
2023-07-26 02:14 AM
Hello @CLHUANG ,
NACK : because you need to reduce the frequency of the I3C ( Try to use 3MHz for example).
The available example is running with 12.5MHz and the board need to communicate with reduced frequency at the beginning.
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.
2023-07-25 01:21 AM - edited 2023-07-25 01:22 AM
I use the I3C_Sensor_Direct_Command_DMA this sample project
and remove the code (under)
#if (defined (__GNUC__) && !defined(__ARMCC_VERSION))
initialise_monitor_handles();
printf("Semihosting Test...\n\r");
#endif
and Get Protocol
2023-07-26 02:14 AM
Hello @CLHUANG ,
NACK : because you need to reduce the frequency of the I3C ( Try to use 3MHz for example).
The available example is running with 12.5MHz and the board need to communicate with reduced frequency at the beginning.
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.
2023-07-27 02:30 AM
Hello @CLHUANG ,
For more details about the I3C communication using STM32 MCUs, please check this application note: Introduction to I3C for STM32H5 series MCU - Application note .
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.
2023-07-27 10:28 AM
Dear Foued
I was referring to this page before, but I was still confused about how to write it, so I came up to ask
And because I connected the X-NUCLEO-IKS01A3, I need a sample program, so I used the sample code in the IDE, the name is I3C_Sensor_Direct_Command_DMA, this can make me move, but I need to remove a piece of code.
2023-07-28 02:13 AM
Hello @CLHUANG ,
For IKS01A3 shield , we have only 2 I3C sensors ( LSM6DSO and LPS22HH ).
You need to communicate with which sensor or with both using I3C ?
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.