| Electronic Components Datasheet Search |
|
PSD4235G2 Datasheet(PDF) 24 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PSD4235G2 Datasheet(HTML) 24 Page - STMicroelectronics |
|
24 / 93 page ![]() Preliminary Information PSD4000 Series 21 Figure 3. Data Polling Flow Chart START READ DQ5 & DQ7 (DQ13 & DQ15) at VALID EVEN ADDRESS YES YES YES NO NO NO DQ7 (DQ15) = DATA7 (DATA15) DQ5 (DQ13) =1 READ DQ7 (DQ15) FAIL Program/Erase Operation Failed Issue Reset Instruction PASS Program/Erase Operation is Completed DQ7 (DQ15) = DATA7 (DATA15) The PSD4000 Functional Blocks (cont.) 9.1.1.6.2 Data Toggle Checking the Data Toggle bit on DQ6 (DQ14) is a method of determining whether a Program or Erase instruction is in progress or has completed. Figure 4 shows the Data Toggle algorithm. When the MCU issues a programming instruction, the embedded algorithm within the PSD4000 begins. The MCU then reads the location to be programmed in Flash to check status. Data bit DQ6 (DQ14) of this location will toggle each time the MCU reads this location until the embedded algorithm is complete. The MCU continues to read this location, checking DQ6 (DQ14) and monitoring the Error bit on DQ5 (DQ13) . When DQ6 (DQ14) stops toggling (two consecutive reads yield the same value), and the Error bit on DQ5 (DQ13) remains ‘0’, then the embedded algorithm is complete. If the Error bit on DQ5 (DQ13) is ‘1’, the MCU should test DQ6 (DQ14) again, since DQ6 (DQ14) may have changed simultaneously with DQ5 (DQ13) (see Figure 4). The Error bit at DQ5 (DQ13) will be set if either an internal timeout occurred while the embedded algorithm attempted to program, or if the MCU attempted to program a ‘1’ to a bit that was not erased (not erased is logic ‘0’). |
|
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 |
| 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 |