Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

MSP430G2553 SPI Communication

$
0
0

Hi,

I try to establish a SPI communication link between TMS320F28069 piccolo and MSP430g2553 micro. Piccolo is the master and MSP430 is the slave. I started with the sample codes for both master and slave. I have configured the SPISTEA as required on the master side. Also proper configuration was added to MSP430G2553 SPI sample code for 4-wire SPI support . I sent an array of data from master to slave and echo this data from MSP430 back to Piccolo. I have added required delay to create proper synchronization between  master and slave, but I notice sometime some of the transmitted bytes from MSP430 to Piccolo are missing as I monitor the loaded data to SPIRXBUF register on the Piccolo side. At the same time I do not see correct bytes in USCIRXBUF on the MSP430 as being transmitted from Piccolo before being echoed back to Piccolo, very confusing. How can I most of the time receive correct data on the master side echoed from MSP430 while I can not capture these bytes on MSP430 side. I have also tested the External/Internal loopback configuration for both MSP430 and TMS320F28069. Both loopback configuration work fine. Please advise.

Regards,


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>