EspruinoWifi: InternalError: InternalError: Timeout on I2C Write Transmit Mode 2 #4675
Replies: 1 comment
-
Posted at 2018-08-22 by @gfwilliams Is your firmware up to date? (1v99) Looking at the error, the I2C peripheral appears to be having trouble getting a result after sending the device's address - which doesn't feel like it's an issue with the internal I2C interface. You could try just calling Could you try using software I2C and see if that helps?
Posted at 2018-08-22 by user85862 Hi Gordon Sacha Posted at 2018-08-31 by Sacha Hi Gordon A test of 36 hours was successfull. Sacha |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2018-08-21 by user85862
Hello Gordon
I have 5x i2c rotary encoders wired, each on a diffenet i2c address:
https://www.tindie.com/products/jgilbert/makernet-knob/
I poll them every 250ms.
But it is not stable. From time to time, maybe after hours, i catch the following error:
"InternalError: InternalError: Timeout on I2C Write Transmit Mode 2"
It's repeating endless until i force to reset/restart the espruino using my own E.enableWatchdog(); function. Memory usage is stable.
I was not able to isolate the code. Here is a snip where i catch it.
After a soft restart of the espruino using my own watchdog reset, everything is fine again. The encoders are not reseted or restarted. No powercycle was made for the encoders.
Is there a way to recover this i2c issue without a restart of the espruino ?
Thanks
Sacha
Beta Was this translation helpful? Give feedback.
All reactions