In my MQX project, I'm performing a periodic writing on a SD card. My tasks have different assigned priorities, and sometimes, depending on the current active task that calls it, SD card writing is successfull, and other times not (watchdog resets the device).
Reading the reference manual, I think that it could be the SDHC interrupt priority: I don't want that it interrupts other main operations, like an acquisition via SPI. How does it work? SDHC has its own priority or it takes the priority of the active task calling it?
I've just ported the example in Freescale_MQX_4.0\mfs\examples\sdcard into my project, and I don't know how to change this.
Thank you very much