We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Good morning, I'm working with a LPC2478 and I designed my system that use different periphericals at the same time but a noticed some conflict on SD memory and LCD controller.
My system works correctly, I mean it read/write on SD and shows my messages on display, but during few second of writing or reading on a SD memory, I can see a very unpleasant flickering on display. It seems that the access on RAM memory to read the status of each singular pixel is in conflict with the bus access to manage the SD operation.
In the past I had the exactly the same problem on FLASH memory access, and I solved it introducing delaies on SPI routines, but the SD is controlled by keil FS_ARM_L.lib, so I can't modify it.
Does exist some priority rules to control the BUS used for both periphericals?Or some PIN status to check if is possible to access to bus or not?
Thanks in advance for any suggestions.
Stefano
Stefano, thanks for your info, and sorry for my direct request of working code, sorry again, I realy dont know your professional engagement, about SD library provided by Keil, I need SSP0 initialisation, I try with this library but not work for me (as you know this library consist SD native mode and SPI mode), best regards
Dear Roberto, my project include MCI_LPC24xx.c file that init the port pins to control the SD memory. I suggest you to search the same file for your hardware inside your Keil folder. Often the issue in this situations is related to a conflit for some pin that is not set to control the peripherical that the user wants but is as standard GPIO or an other wrong function. Keil provides good applications integrated on MDK, to check in debug this setting ("Peripherical" menù). That's all, Regards