This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP432E401Y: MSP432E401Y + SPI flash MX25R1635FZUIL0 + file system

Part Number: MSP432E401Y
Other Parts Discussed in Thread: TM4C1294NCPDT

Tool/software:

Hi TI, 

I have an SPI flash memory (MX25R1635FZUIL0) connected to the MSP432E401Y via SPI.
Is it possible from the MSP432E401Y to format the memory and use it like an SD memory with a file system?

Thank you very much. Best Regards. 

  • Hi,

      I think from hardware perspective, it is possible to use two QSSI modules on the MSP432E MCU to implement a 4-bit bus to communicate with an SD card. Unfortunately, we don't have any software example 

  • Hi Charles, 

    Thank you very much. 

    An alternative, I'm not sure if it's possible, I have no build errors but I can't get it to work correctly.

    I see there is an example project named spiffsinternal, in which they mount a file system on the internal memory of the MCU.


    Would it be possible in this same example project (spiffsinternal) instead of using the internal NVS to use NVS external? You should get the file system mounted on the SPI flash. Would it be correct?

    Best regards

  • Hi, 

     Which spiffsinternal file where did you get it from? Sorry, I have been on travel and sorry for the late response. 

  • HI,

     This TI reference design TIDM-TM4C129SDRAMNVM Execute from SDRAM with code storage in NVM for high performance MCU may also help. It uses the SSI interface to read the MicroSD card. The assumption is that  a PC has already copied the program images to the microSD Card. The MCU merely read the MicroSD from the SSI interface. 

    Refer to the below description the user's guide. 

    3.2.1 MicroSD Card Boot With SDRAM Code Execution The MicroSD card boot with SDRAM code uses the internal flash of the TM4C1294NCPDT to hold the FAT file system and bootloader. The bootloader configures the QSSI modules to run the FAT file system and EPI to interface to a 512-Mb SDRAM at interface frequency of 60 MHz. You can have multiple images on an microSD card configured during compile time to execute from an EPI address space of 0x6000 0000. You can select one of the image files that the bootloader copies to the EPI peripheralconnected SDRAM. After the image is copied, the Cortex-M4 disables the interrupts, updates the NVIC_VTABLE register to map to the external address map, and jumps to the external address space of 0x6000 0000. All subsequent code execution occurs in the external address space until the next board reset. You must use a PC to copy the images to the microSD Card.