Jump to content
Sign in to follow this  

Interfacing W25Q80DV spi flash with MSP430G2553

Recommended Posts

Hi all,


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


Share this post

Link to post
Share on other sites

Caveat - I've done almost nothing with SPI comms.

My first thought: TI msp430 SPI & I2C examples typically are written to talk to a second msp430 , the first configured as master, the second configured as slave, and addresses for slaves are set up for the slave msp430.  Are you running the TI code "out of the box?"  Have you correctly set the slave address for the device you are trying to communicate with? Are you using the correct set of steps the flash device expects?

You might take a look at this stackexchange example for possible hints.  It's for a different mcu, but the same flash device.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this