javos65 / WDTZero

Allows to use the WatchDog functionality for Arduino Zero, MKRZero and MKR1000 only
15 stars 12 forks source link

I2S & WDTZero #9

Closed CptHolzschnauz closed 2 years ago

CptHolzschnauz commented 3 years ago

I have also (clock?) problems with I2S (Not I2C!) with HARD and SOFT.

I2S.read(); is just not working with a watchdog enabled. Without Watchdog it's working.

Hardware: Arduino MKR 1400, MEMS Micro on I2S Software :

include

I2S.begin(I2S_PHILIPS_MODE, 16000, 32); I2S.read();

Thx a bunch for coding this lib!

CptHolzschnauz commented 2 years ago

I had the same behaviour with sd data copy and copy data from the modem memory. I think it's all related to the blocking clear function, the PR https://github.com/javos65/WDTZero/pull/8 brought no remedy but there must be a bug. When i run my function in setup() before initialize the wdt software watchdog, everything works smooth.

CptHolzschnauz commented 2 years ago

https://github.com/arduino/ArduinoCore-samd/pull/474 solves the problem. It's not this lib.