| Electronic Components Datasheet Search |
|
HT48F06E Datasheet(PDF) 19 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT48F06E Datasheet(HTML) 19 Page - Holtek Semiconductor Inc |
|
19 / 69 page ![]() HT48F06E/HT48F10E/HT48F30E Rev. 1.00 19 September 10, 2007 EWEN/EWDS The ²EWEN² instruction is the Erase/Write Enable in- struction and the ²EWDS² instruction is the Erase/Write Disable instruction. To instigate an ²EWEN² or ²EWDS² instruction, the CS bit should first be set high, followed by a high start bit and then the instruction code ²00². For the ²EWEN² instruction, a ²11² should then be transmit- ted and for the ²EWDS² instruction a ²00² should be transmitted. Following on from this, 5-bits of ²don¢t care² data should then be transmitted to complete the instruc- tion. If the device is already in the Erase Write Disable mode then no write or erase operations can be executed thus protecting the internal EEPROM data. Before any write or erase instruction is executed an ²EWEN² in- struction must be issued. After the ²EWEN² instruction is executed, the device will remain in the Erase Write Enable mode until a subsequent ²EWDS² instruction is issued or until the device is powered down. ERAL The ²ERAL² instruction is used to erase the whole con- tents of the EEPROM memory. After it has been exe- cuted all the data in the EEPROM will be set to ²1².To instigate this instruction, the CS bit should be set high, followed by a high start bit and then the instruction code ²00². Following on from this, a ²10² should then be transmitted. This should be followed by 5-bits of ²don¢t care ² data to complete the instruction. After the ²ERAL² instruction code has been transmitted, the EEPROM data will be erased when the CS bit is cleared to zero. The EEPROM does this by executing an internal write-cycle. This process takes place internally using the EEPROM ¢s own internal clock and does not require any action from the SK clock. No further instructions can be accepted by the EEPROM until this internal write-cycle has finished. To determine when the write cycle has ended, CS should be again brought high and the DO bit polled. If D0 is low this indicates that the inter- nal write-cycle is still in progress, however the D0 bit will change to a high value when the internal write-cycle has ended. Before an ²ERAL² instruction is transmitted an ²EWEN² instruction must have been transmitted at some point earlier to ensure that the erase/write function of the EEPROM is enabled. WRAL The WRAL instruction is used to write the same data into the entire EEPROM. To instigate this instruction, the CS bit should be set high, followed by a high start bit and then the instruction code ²00². Following on from this, a ²01² should then be transmitted. This should be fol- lowed by 5-bits of ²don¢t care² data. The data informa- tion should then follow with the MSB bit being transmitted first. After the instruction code and data have been transmitted, the data will be written into the EEPROM when the CS bit is cleared to zero. The EEPROM does this by executing an internal write-cycle. This process takes place internally using the EEPROM ¢s own internal clock and does not require any action from the SK clock. No further instructions can be accepted by the EEPROM until this internal write-cycle has finished. To determine when the write cycle has ended, CS should be again brought high and the DO bit polled. If D0 is low this indicates that the internal write-cycle is still in progress, however the D0 bit will change to a high value when the internal write-cycle has ended. Before a ²WRAL² instruction is transmitted an ²EWEN² instruction must have been transmitted at some point earlier to ensure that the erase/write function of the EEPROM is enabled. The WRAL instruction will automatically erase any previously written data making it unnecessary to first issue an erase instruction. C S S K S t a n d b y D I 0 1 0 S t a r t b i t E W E N = 1 1 X X X X X - - 5 - b i t d o n ' t c a r e E W D S = 0 0 EWEN/EWDS Timing C S S K D O S t a n d b y D I t S V t C D S B u s y R e a d y V e r i f y 1 0 0 0 1 t P R S t a r t b i t 1 X X X X X - - 5 - b i t d o n ' t c a r e ERAL Timing |
|
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 |