Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 218059

Forum Post: RE: MSP432P401R : Problem with SPI

$
0
0
The first block (6 lines) in SPI initialization, starting with > P6->OUT &= ~BIT3; as near as I can tell sets SCK low, then high, then low again. Setting the PSEL will bring SCK high again (so I guess that's 2 SCK cycles, not just 1). At that moment FSYNC (P9.3) is low from the initial sequence in main(), so the DDS is listening. P9.3 stays low until the end of the first transaction (in the ISR).

Viewing all articles
Browse latest Browse all 218059

Trending Articles



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