2023-05-28 05:31 AM - edited 2023-11-20 04:28 AM
Hello!
This is what I have done yet:
Upon generating the code, I came across a problem where
MX_I2C1_Init();
was disappearing from the generated
main.c
file when I selected "I2C1" under "Middleware and Software Packs" in the "Found Solutions" tab. However, if I left it as "Undefined", the
MX_I2C1_Init();
would be included in the generated code. This issue is obstructing my progress with the sensor setup and I'm looking for help to troubleshoot and resolve this.
Solved! Go to Solution.
2023-05-29 08:32 AM - edited 2023-11-20 04:29 AM
Hello @DLid.1 ,
when you use the CMSIS pack of the MEMS, You can find the Initialization of the MX_I2C1_init(); in the custom_bus.c file not in the main.c.
But if 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.
2023-05-29 08:32 AM - edited 2023-11-20 04:29 AM
Hello @DLid.1 ,
when you use the CMSIS pack of the MEMS, You can find the Initialization of the MX_I2C1_init(); in the custom_bus.c file not in the main.c.
But if 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.