数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

PM0222 数据表(PDF) 17 Page - STMicroelectronics

部件名 PM0222
功能描述  Brain smart hub family
PDF  33 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

PM0222 数据表(HTML) 17 Page - STMicroelectronics

Back Button PM0222 Datasheet HTML 13Page - STMicroelectronics PM0222 Datasheet HTML 14Page - STMicroelectronics PM0222 Datasheet HTML 15Page - STMicroelectronics PM0222 Datasheet HTML 16Page - STMicroelectronics PM0222 Datasheet HTML 17Page - STMicroelectronics PM0222 Datasheet HTML 18Page - STMicroelectronics PM0222 Datasheet HTML 19Page - STMicroelectronics PM0222 Datasheet HTML 20Page - STMicroelectronics PM0222 Datasheet HTML 21Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 17 / 33 page
background image
DocID025476 Rev 1
17/33
PM0222
Flash controller
33
MASSERASE sequence:
–
Write the MASSERASE command (0x22) in the Flash Controller COMMAND
register.
–
Wait for the CMDSTART flag in the IRQSTAT register (polling mode or interrupt
mode) indicating that the command has been taken into account and is under
execution.
–
Clear the CMDSTART flag by writing CMDSTART to ‘1’ in the Flash Controller
IRQSTAT register.
–
Wait for the CMDDONE flag in the IRQSTAT register (polling mode or interrupt
mode) indicating that the command is completed.
–
Clear the CMDDONE flag by writing CMDDONE to ‘1’ in the Flash Controller
IRQSTAT register.
–
After this command, the full main Flash will contain only bits set to ‘1’.
6.2.4
Write function examples
The Flash Controller allows writing / programming one word or the full main Flash memory
(with a single fixed word).
Note:
As a write can only program to ‘0’ on bits already set to ‘1’, it is necessary to erase the page
and request that the bits be set to ‘1’ (instead of ‘0’) in order to re-write to ‘0’.
WRITE sequence:
–
Indicate the location to write by filling the Flash Controller ADDRESS register with
the targeted address (page, row and word number)
–
Write the value to program in the Flash Controller DATA register.
–
Write the WRITE command (0x33) in the Flash Controller COMMAND register.
–
Wait for the CMDSTART flag in the IRQSTAT register (polling mode or interrupt
mode) indicating that the command has been taken into account and is under
execution.
–
Clear the CMDSTART flag by writing CMDSTART to ‘1’ in the Flash Controller
IRQSTAT register.
–
Wait for the CMDDONE flag in the IRQSTAT register (polling mode or interrupt
mode) indicating that the command is completed.
–
Clear the CMDDONE flag by writing CMDDONE to ‘1’ in the Flash Controller
IRQSTAT register.



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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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