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

Forum Post: RE: The MSP430F5659 with xt2 crystal osc 19.2 MHz write to flash memory problem.

$
0
0
I had find any way to solve this problem and it's realy working, but I don't know why ? Before the call to the flash memory writing function I set the master clock dividet to 2, then return to the previous state this way: UCSCTL5 |= DIVM0; FCTL3 = FWKEY; FCTL1 = FWKEY + WRT; __data20_write_char(addr,byte); FCTL3 = FWKEY; FCTL1 = FWKEY + LOCK; UCSCTL5 &= ~DIVM0;

Viewing all articles
Browse latest Browse all 62309

Trending Articles



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