Quantcast
Channel: MPLAB Harmony
Viewing all articles
Browse latest Browse all 7442

Harmony migration with SPI isn't working. (DominusT)

$
0
0
Hi. I have the following function to read and write a byte via SPI, and works very well: CSLCD__0;
while(!SPI4STATbits.SPITBE); // Wait for TX buffer to be empty
SPI4BUF = (int)(Data); // write to buffer for TX
while(!SPI4STATbits.SPIRBF);<..

Viewing all articles
Browse latest Browse all 7442

Trending Articles



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