Electronic Components Datasheet Search
  Indian  ▼
ALLDATASHEET.IN

X  

SH33F2801P/032PR Datasheet(PDF) 33 Page - SINOWEALTH Electronic Ltd

Part # SH33F2801P/032PR
Description  32-bit High Performance Motor Control MCU Based on ARM® Star
PDF  407 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  SINOWEALTH [SINOWEALTH Electronic Ltd]
Direct Link  https://en.sinowealth.com
Logo SINOWEALTH - SINOWEALTH Electronic Ltd

SH33F2801P/032PR Datasheet(HTML) 33 Page - SINOWEALTH Electronic Ltd

Back Button SH33F2801P/032PR Datasheet HTML 29Page - SINOWEALTH Electronic Ltd SH33F2801P/032PR Datasheet HTML 30Page - SINOWEALTH Electronic Ltd SH33F2801P/032PR Datasheet HTML 31Page - SINOWEALTH Electronic Ltd SH33F2801P/032PR Datasheet HTML 32Page - SINOWEALTH Electronic Ltd SH33F2801P/032PR Datasheet HTML 33Page - SINOWEALTH Electronic Ltd SH33F2801P/032PR Datasheet HTML 34Page - SINOWEALTH Electronic Ltd SH33F2801P/032PR Datasheet HTML 35Page - SINOWEALTH Electronic Ltd SH33F2801P/032PR Datasheet HTML 36Page - SINOWEALTH Electronic Ltd SH33F2801P/032PR Datasheet HTML 37Page - SINOWEALTH Electronic Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 33 / 407 page
background image
SH33F2801
33
8.3.3.6
Main Program Block Programming
The Flash operation provides a 32-bit word/16-bit half-word programming function to modify the contents of the flash
main memory block. To program on main flash program block, 32 bits/16 bits can be written each time. The addresses must
be aligned by 32 bits/16 bits. If they are not aligned, the corresponding operation is invalid and the relevant error flag is set
to 1. When the FLASH_CR register operation instruction word is set to main program block programming, writing a word or
half word at a flash address will initiate a programming. During the programming process (bit BSY@FLASH_SR bit is '1'),
any operation that reads or writes to flash will cause CPU to pause until the end of this flash programming.
The following steps show the procedure of word programming operation register.
(a) Single word or half-word programming
(1) Unlock Flash main block by writing the correct sequence of keys into FLASH_KEYR, and check that
MNLCK@FLASH_CR is cleared.
(2) Check that no Flash memory operation is ongoing by checking the BSY bit in the FLASH_SR register.
(3) When the BSY@FLASH_SR bit is cleared, write the flash main program block command (MPG) word and program
operation width selection bit to the FLASH_CR register. (4) Set STRT@FLASH_CR bit.
(5) Write a 32-bit word/16-bit half-word into the desired address.
(6) Check BSY@FLASH_SR bit to determine whether the programming instruction has been executed.
(7) The operation is done when BSY@FLASH_SR bit is cleared.
The operation flowchart is as follows:
Figure8-7
Main Program Block Programming (Single Word or Half-word)



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com