Bug report: Nicla is disconnecting/crashing after ~30 min of I2C com #21
Labels
conclusion: duplicate
Has already been submitted
type: imperfection
Perceived defect in any part of project
@giulcioffi
@facchinm
I wanted to post this as an issue under
arduino-libraries/Arduino_BHY2Host
, as it pertains to your example code referenced by marqdevx in his tutorial, but it seems you've disabled it? I've tested the example located here (Arduino_Pro_Tutorials/examples/Nicla Sense ME as a MKR Shield) and it suffers from the same bug.@marqdevx
I am trying to get your basic tutorial working for the Nicla and Portenta H7 connected over ESLOV. The bug in your example is that it only works for a little over half an hour before crashing.
I modified your code for debugging purposes:
Arduino_BHY2Host/examples/Accelerometer/Accelerometer_copy.ino:
Arduino_BHY2/examples/App/App_copy.ino:
After 1,881,243–2,398,485 ms, the Nicla stops updating…
BHY2.update(500);
line in the loop probably caused an exception.If I reset just the Portenta and relaunch the serial printer, the Portenta halts at the
accel.begin();
line in the setup...The text was updated successfully, but these errors were encountered: