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

Forum Post: RE: Error Flashing MSP432 Rev 2.0

$
0
0
I isolated the problem, but didn't find a workaround. The DCO calibration is as given below: void DCOconfig(void) { CS->KEY = 0x695A; //CS->CTL0 = 0; CS->CTL0 = CS_CTL0_DCORSEL_5; CS->CTL1 = CS_CTL1_SELA__REFOCLK| // ACLK = REFOCLK CS_CTL1_SELS__DCOCLK| // SMCLK = DCOCLK CS_CTL1_DIVS__16| // SMCLK = DCOCLK/16 = 03MHz CS_CTL1_SELM__DCOCLK; // MCLK = DCO CS->KEY = 0; } somehow in the line CS->CTL0 = CS_CTL0_DCORSEL_5; get the microcontroller to fault handling routines. I searched the MSP432P401R Device Erratasheet in hope that it has some workaround, but there isn't.

Viewing all articles
Browse latest Browse all 62309

Trending Articles



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