Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PM0222 Datasheet(PDF) 15 Page - STMicroelectronics

Part # PM0222
Description  Brain smart hub family
PDF  33 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

PM0222 Datasheet(HTML) 15 Page - STMicroelectronics

Back Button PM0222 Datasheet HTML 11Page - STMicroelectronics PM0222 Datasheet HTML 12Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 15 / 33 page
background image
DocID025476 Rev 1
15/33
PM0222
Flash controller
33
6
Flash controller
Brain embeds 64 Kbyte (16384 x 32-bit) of internal Flash memory. A Flash interface
implements instruction access and data access based on the AHB protocol. It implements
the logic necessary to carry out the Flash memory operations (Program/Erase) controlled
through the Flash registers.
6.1
Default configuration after boot
Default configuration:
Flash interface frequency = 80 MHz (internal RC) / 5 = 16 MHz
REMAP bit is ‘0’ which means that the main Flash is seen at address 0x1001_0000
6.2
Flash commands (read / write / erase)
Precaution for use: for any erase / write action, the system clock must be provided by the
internal RC (no external clock configuration).
6.2.1
General information
Writing to Flash only allows clearing bits from ‘1’ to ‘0’. This means any write from ‘0’ to
‘1’implies erasing before performing a write.
Flash memory is composed of 32 pages containing 8 rows of 64 words (32 x 8 x 64 = 16384
words). Each word is 32-bit = 4 bytes long which means 64 KB of Flash.
The address inside the Flash Controller ADDRESS register is built as follows:
ADDRESS[13:0] = XADR[7:0] & YADR[5:0] with
XADR[7:3] = page address
XADR[2:0] = row address
YADR[5:0] = word address (one word = four bytes)
6.2.2
Read function examples
There are two possible read accesses:
Read one single word: simple read as if SRAM memory: read the desired Flash
address and get read data on the bus.
MASSREAD command: read the full Flash memory and compare with expected
content
There are two ways of using MASSREAD:
Full Flash contains a fixed 32-bit pattern: indicate the expected pattern (value to be
compared with each read value inside Flash) in the Flash Controller DATA register and
check the READOK flag in the Flash Controller Interrupt register once the command is
completed.
Else: request a MASSREAD command without specifying any expected read value and
check the LFSRVAL register once the command is completed. This LFSRVAL 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


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