Activity › Forums › Questions & Troubleshooting › Hardware › SPI SD Card shield together with RTC › Reply To: SPI SD Card shield together with RTC
LukasMemberJanuary 9, 2019 at 2:53 pm
Hello, yes, you have to handle the Chip Select signals properly. It seems that the SD card stays enabled even if there is a communication with RTC. Then of course the data are corrupted.
Example for the RTC is available in the CONTROLLINO library. In the Arduino IDE File->Examples->CONTROLLINO->Common->DemoRTC
Or at GitHub https://github.com/CONTROLLINO-PLC/CONTROLLINO_Library/blob/master/Common/DemoRTC/DemoRTC.ino