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

Forum Post: MSP432 Launchpad, Transition from Rev 1.0 to 2.0

$
0
0
I tried moving from the revision 1.0 MSP-EXP432P401R launchpad to the revision 2.0 version, and the program no longer runs. I'm finding that it hangs at this section of the code. Anyone know why? #define coreUNLOCK 0x695A // unlock key for core modules on MSP 432 // Setting clock for MSP 432 CS->KEY = coreUNLOCK; // unlocks clock system registers using unlock code from datasheet CS->CTL0 = CS_CTL0_DCORSEL_5; // set DCO to 48 MHz center frequency CS->CTL1 = CS_CTL1_SELS_3 + CS_CTL1_SELM_3; // SMCLK and MCLK set to 48 MHz while ((CS->STAT & (CS_STAT_SMCLK_READY + CS_STAT_MCLK_READY + CS_STAT_ACLK_READY)) != 0x0B000000); // make sure clocks are ready CS->CLKEN = CS_CLKEN_SMCLK_EN + CS_CLKEN_MCLK_EN + CS_CLKEN_ACLK_EN; // enables clk when requested from LPM CS->KEY &= ~coreUNLOCK; // locks clock system registers

Viewing all articles
Browse latest Browse all 62309

Trending Articles



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