Hi,
I am trying to use the Microchip MDDFS library to write and read from a SD Card.
At first I was just using the sd card in the SPI bus but then I inserted a RTC in the SPI bus with no problem. Everything worked perfectly.
At this moment I am trying to introduce a flash memory to the SPI bus.
First I tried with the memory and the RTC and the system worked with no problems but when I tried inserted the SD card in the SPI bus the flash memory started to develop some problems.
Most of the time I am unable to access the memory and when the system can access the memory the stored data is corrupted.
It seems to be some kind of conflict between the flash memory and the sd card. Probably because of Microchip library.
I am using the PIC18F87K22.
Did anyone had the same problem? Do you have any ideia how to fix it?