djuseeq / Ch376msc

Arduino library for CH376 mass storage contoller
MIT License
77 stars 17 forks source link

"Flash Drive Attached" instability #74

Closed gustavobuuron closed 2 years ago

gustavobuuron commented 2 years ago

I'm using the examples from the library, and experiencing some instability in the flash drive recognition, sometimes we get the "Flash Drive attached!" and sometimes I don't. We tried the SPI mode and SoftwareSerial mode with Arduino Uno and ESP32. Did you ever experience such instability?

If I send the command "setMode(MODE_HOST_0)" before the checkIntMessage(), I get "Flash Drive Attached".