I am trying to connect SPI flash (W25Q80DVSSIG-NDhttp://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/166/w25q80dv_5F00_revf_5F00_02112015.pdf) to MSP430g2553 launch pad. Here I made the connections as below
P1.1 SOMI <---------- 2nd Pin DO
P1.2 SIMO ----------->5th Pin DI
P1.4 SCLK ----------->6th Pin CLK
P2.0 SS ------------>1st Pin CS
I tried to use example code from TI to get the manufacturer id and device id. But I am failing to receive the expected data. Please have a look into my code and tell me if I made any mistakes. Please find the attachment for my code and the data sheet of Winbond W25Q80DV spi flash memory.
And if anyone have sample codes or driver codes please do share with me.
Thanks in Advance.
main - Copy.pdf