AnsweredAssumed Answered

SPI example is not working

Question asked by Yadhukrishnan V M on Sep 11, 2016
Latest reply on Sep 27, 2016 by Yadhukrishnan V M

hi,

SPI example in the mqx folder is not working in my TWR-K65F180M. I think there is no EEPROM in my board that is why the example is not working.When I run the example it runs as below I don't know why is this happening. Anybody please help me...

 

 

 


-------------- SPI driver example --------------

This example application demonstrates usage of SPI driver.
It transfers data to/from external memory over SPI bus.
The default settings in memory.h apply to TWR-MEM flash memory.
Current baud rate ... 10000000 Hz
Changing the baud rate to 500000 Hz ... OK
Current baud rate ... 468750 Hz
Setting clock mode to SPI_CLK_POL_PHA_MODE0 ... OK
Getting clock mode ... SPI_CLK_POL_PHA_MODE0
Setting endian to SPI_DEVICE_BIG_ENDIAN ... OK
Getting endian ... SPI_DEVICE_BIG_ENDIAN
Setting transfer mode to SPI_DEVICE_MASTER_MODE ... OK
Getting transfer mode ... SPI_DEVICE_MASTER_MODE
Clearing statistics ... OK
Getting statistics:
Rx packets: 0
Tx packets: 0

Read memory status ... 0xff
Enable write latch in memory ... OK
Read memory status ... 0xff
Write unprotect memory ... OK
Enable write latch in memory ... OK
Read memory status ... 0xff
Write unprotect memory ... OK
Enable write latch in memory ... OK
Read memory status ... 0xff
Erase whole memory chip:
Read memory status ... 0xff
Read memory status ... 0xff
Read memory status ... 0xff
Read memory status ... 0xff
Read memory status ... 0xff
Read memory status ... 0xff
Read memory status ... 0xff
Read memory status ... 0xff
Read memory status ... 0xff
Read memory status ... 0xff
Read memory status ... 0xff
Read memory status ... 0xff
Read memory status ... 0xff
Read memory status ... 0xff
Read memory status ... 0xff
Read memory status ... 0xff
Read memory status ... 0xff
Read memory status ... 0xff
Read memory status ... 0xff
Read memory status ... 0xff
Read memory status ... 0xff
Read memory status ... 0xff
Read memory status ... 0xff
Read memory status ... 0xff
Read memory status ... 0xff
Read memory status ... 0xff
Read memory status ... 0xff
Read memory status ... 0xff
Read memory status ... 0xff
Read memory status ... 0xff
Read memory status ... 0xff

............................................

............................................

Outcomes