Part Number: MSP432E401Y
Hello,
We are designing a product with the MSP432 that must, in a certain mode, mount an SD card and present it to a USB host as a mass storage device.
I used an example for another platform (TivaWare) as a guide and was able to get the usblib mass storage device driver working, and it now appears as a mass storage device when connected to a PC.
I was also able to get the TI driver for the SD card working, and the MSP432 can read and write to the SD card.
The problem is, these two drivers will not work together. The USB mass storage driver requires data to be returned from an interrupt handler, and the SD card driver uses a lot of synchronization primitives and DMA callbacks that cannot be done from an ISR. Thus, I cannot use the SD card driver from the USB mass storage read and write handlers.
Is there a way to make this work?
Thank you,
Josh