Hi all,
We created some devices (50) using teensy 3.2, an SD card reader and a LORA radio module RFM95W.
Basically the device will, among other things, continuously read files from the SD card while talking over the radio. Both the SD card and the radio are connected using SPI.
The thing is that after some weeks we got back the devices and 4 of them had corrupted SD cards (files unable to read). We were using only reading and listing operations, so my first question is:
* Is it possible to corrupt an SD card while using read only operations?
We had some trouble with the radio over SPI (using radiohead library) conflicting with other operations (SD card reading for instance).
* Can a busy SPI channel cause corruption on the SD card's files while reading?
I am just looking for some directions to attack the problem.
Thanks
Hardware used: Teensy 3.2, usdCard reader, Adafruit RFM95W LoRa Radio
Libraries used: SD, radiohead
Wiring: both usdcard (CS pin 28) and rfm95 (CS pin 10) are attached to the teensy 3.2 spi
Sorry for not posting code, I can't share it because of company policy.
We created some devices (50) using teensy 3.2, an SD card reader and a LORA radio module RFM95W.
Basically the device will, among other things, continuously read files from the SD card while talking over the radio. Both the SD card and the radio are connected using SPI.
The thing is that after some weeks we got back the devices and 4 of them had corrupted SD cards (files unable to read). We were using only reading and listing operations, so my first question is:
* Is it possible to corrupt an SD card while using read only operations?
We had some trouble with the radio over SPI (using radiohead library) conflicting with other operations (SD card reading for instance).
* Can a busy SPI channel cause corruption on the SD card's files while reading?
I am just looking for some directions to attack the problem.
Thanks
Hardware used: Teensy 3.2, usdCard reader, Adafruit RFM95W LoRa Radio
Libraries used: SD, radiohead
Wiring: both usdcard (CS pin 28) and rfm95 (CS pin 10) are attached to the teensy 3.2 spi
Sorry for not posting code, I can't share it because of company policy.