Texas Instruments MSP430x1xx User Manual Page 142

  • Download
  • Add to my manuals
  • Print
  • Page
    / 432
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 141
Flash Memory Operation
5-12
Flash Memory Controller
Block Write Flow and Example
A block write flow is shown in Figure 5−8 and the following example.
Figure 5−11. Block Write Flow
yes
BUSY = 1
Disable all interrupts and watchdog
Setup flash controller
Set BLKWRT=WRT=1
Write byte or word
no
Block Border?
yes
WAIT=0?
yes
BUSY = 1
Set BLKWRT=0
yes
Another
Block?
Set WRT=0, LOCK=1
re-enable interrupts and WDT
Page view 141
1 2 ... 137 138 139 140 141 142 143 144 145 146 147 ... 431 432

Comments to this Manuals

No comments