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

X  

UPSD3312D Datasheet(PDF) 187 Page - STMicroelectronics

Part # UPSD3312D
Description  fast 8032 MCU with programmable logic
PDF  272 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UPSD3312D Datasheet(HTML) 187 Page - STMicroelectronics

Back Button UPSD3312D Datasheet HTML 183Page - STMicroelectronics UPSD3312D Datasheet HTML 184Page - STMicroelectronics UPSD3312D Datasheet HTML 185Page - STMicroelectronics UPSD3312D Datasheet HTML 186Page - STMicroelectronics UPSD3312D Datasheet HTML 187Page - STMicroelectronics UPSD3312D Datasheet HTML 188Page - STMicroelectronics UPSD3312D Datasheet HTML 189Page - STMicroelectronics UPSD3312D Datasheet HTML 190Page - STMicroelectronics UPSD3312D Datasheet HTML 191Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 187 / 272 page
background image
Obsolete
Product(s)
- Obsolete
Product(s)
Obsolete
Product(s)
- Obsolete
Product(s)
UPSD33xx
PSD module
Doc ID 9685 Rev 7
187/272
Each Flash memory requires the 8032 to send an instruction sequence to program a byte or
to erase sectors (see Table 117 on page 184).
If the byte to be programmed is in a protected Flash memory sector, the instruction
sequence is ignored.
Note:
IMPORTANT: It is mandatory that a chip-select signal is active for the Flash sector where a
programming instruction sequence is targeted. Make sure that the correct chip-select
equation, FSx, or CSBOOTx specified in PSDsoft Express matches the address range that
the 8032 firmware is accessing, otherwise the instruction sequence will not be recognized
by the Flash array. If memory paging is used, be sure that the 8032 firmware sets the page
register to the correct page number before issuing an instruction sequence to the Flash
memory segment on a particular memory page, otherwise the correct sector select signal
will not become active.
Once the 8032 issues a Flash memory program or erase instruction sequence, it must
check the status bits for completion. The embedded algorithms that are invoked inside a
Flash memory array provide several ways to give status to the 8032. Status may be checked
using any of three methods: Data Polling, Data Toggle, or Ready/Busy (pin PC3).
27.4.10
Data polling
Polling on the Data Polling Flag Bit (DQ7) is a method of checking whether a program or
erase operation is in progress or has completed. Figure 60 on page 188 shows the Data
Polling algorithm.
When the 8032 issues a program instruction sequence, the embedded algorithm within the
Flash memory array begins. The 8032 then reads the location of the byte to be programmed
in Flash memory to check status. The Data Polling Flag Bit (DQ7) of this location becomes
the compliment of Bit D7 of the original data byte to be programmed. The 8032 continues to
poll this location, comparing the Data Polling Flag Bit (DQ7) and monitoring the Error Flag
Bit (DQ5). When the Data Polling Flag Bit (DQ7) matches Bit D7 of the original data, then
the embedded algorithm is complete. If the Error Flag Bit (DQ5) is '1,' the 8032 should test
the Data Polling Flag Bit (DQ7) again since the Data Polling Flag Bit (DQ7) may have
changed simultaneously with the Error Flag Bit (DQ5) (see Figure 60 on page 188).
The Error Flag Bit (DQ5) is set if either an internal timeout occurred while the embedded
algorithm attempted to program the byte (indicating a bad Flash cell) or if the 8032
attempted to program bit to logic ’1’ when that bit was already programmed to logic ’0’ (must
erase to achieve logic ’1’).
It is suggested (as with all Flash memories) to read the location again after the embedded
programming algorithm has completed, to compare the byte that was written to the Flash
memory with the byte that was intended to be written.
Table 118.
Flash Memory Status bit definition(1)(2)
Functional
Block
FSx, or CSBOOTx
DQ7
DQ6DQ5
DQ4DQ3
DQ2DQ1
DQ0
Flash
memory
Active (the desired
segment is selected)
Data
Polling
Toggle
Flag
Error
Flag
X
Erase
Timeout
XX
X
1.
X = Not guaranteed value, can be read either '1' or '0.'
2.
DQ7-DQ0 represent the 8032 Data Bus Bits, D7-D0.



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