Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62426

Forum Post: RE: SPI 'master' send any data 'slave' always load with "0xff" data in MSP430f6779

$
0
0
(Please visit the site to view this file)Hello Hitesh, I am currently investigating the behavior you've stated. Meanwhile there are some other issues that need to be addressed: 1. Baud rate concerns UART mode, not SPI, so your UCA0BRW is simply a bit clock prescalar and not a modulation control. 2. Please refer to Figure 3 of the device datasheet. You must increase your PMMCOREV settings up to at least 2 (in order, or level-by-level, and with the proper SVM & SVS changes) in order to operate at a 16 MHz system frequency. An example of how this can be done is attached. 3. You are using 3-wire SPI mode so the CS pin is not necessarily important regarding USCI master behavior, it is typically low for active and high for inactive. Regards, Ryan

Viewing all articles
Browse latest Browse all 62426

Trending Articles



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