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.

TM4C123GH6PM: TM4C123GH6PM

Part Number: TM4C123GH6PM

Hi,

How to check if TM4C123GH6PM is compatible with Micron SPI flash MT25QL128ABA1EW7? I want to implement a SPI bus for the communication between them. Is there any example code available? I noticed that in the folder of Tivaware/utils, there is spi_flash.c which provides drivers for SPI flash. But I am not sure if it supports Micron SPI flash.

Much appreciated if anyone can offer a help.

Joseph 

  • Hi Zhen,
    Please refer to the TivaWare utility user's guide in <TivaWare_Installation>/docs/SW-TM4C-UTILS-UG-2.1.4.178.pdf. Chapter 18 of the user's guide documents all the API functions supporting SPI flash. The TM4C123 supports the standard SPI interface so I don't think there is a compatibility issue from a hardware stand point of view. Quickly glancing through the MT25QL128ABA1EW7 I don't see things that are incompatible with the TivaWare API. The TivaWare SPI flash can support 32k or 64k sector erase which is in line with the MT25QL128ABA1EW7. Please give a try and let us know if you see any issues.