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.

Compiler/TM4C1294NCPDT: spi external flash code sample

Part Number: TM4C1294NCPDT

Tool/software: TI C/C++ Compiler

Hi ,

Do you have external spi flash code sample which reads just spi flash manufacture id.

Thanks

  • Hi Sergey,

      We don't have an example as such but please refer to the TivaWare Utilities library user's guide under the SPI Flash section for details. You can use the SPIFlashReadID() API to read the ID. 

  • Greetings Charles,

    Single-Digit temperature greetings from 'frozen Chicago!'

    You've perfectly addressed poster's 'SPI ID' issue - bravo.     You should know that 'not all' competing ARM MCU APIs include this feature!

    We likely should 'remind' our 'short-cut seeking' poster that (still) the MCU must have its SPI Port:

    • enabled
    • adapted to the 'frame/mode' requirement demanded by the SPI Slave
    • properly connect to the SPI slave device

    and insure that the slave device is properly tied to MCU's ground & (ideally) commonly powered.  

    Not always is it 'expected' that the (lowly) slave device is (much) the 'boss' of the MCU...