2021-11-19 08:26 AM
Hi,
I use an Nucleo-32WL55JC1 with one MS5637 (pressure sensor).
(The point is not the precise sensor but the I2C communication. )
In CubeMX, I designed the pins : In main.c, I added :
I2C_HandleTypeDef hi2c1;
And in the main function :
BSP_LED_Init(LED3);
And in the error handler :
In order to see errors without the debeugger.
Then, in lora_app.c,
#include "i2c.h"
at the begging of the SendTxData():
The results :
Then, 5 seconds after, the RED LED blinks -> Thus, It's in Error_Handler
BUT
Thus, I cannot see clearly the problem because each time with the debeugger it is ok but without it it's not !
Thank you for your help