| Electronic Components Datasheet Search |
|
HT48F06E Datasheet(PDF) 19 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT48F06E Datasheet(HTML) 19 Page - Holtek Semiconductor Inc |
|
19 / 74 page ![]() HT48F06E/HT48F10E/HT48F30E Rev. 1.60 19 July 29, 2009 READ The ²READ² instruction is used to read out one or more bytes of data from the EEPROM Data Memory. To insti- gate a ²READ² instruction, the CS bit should be set high, followed by a high start bit and then the instruction code ²10², all transmitted via the DI bit. The address informa- tion should then follow with the MSB being transmitted first. After the last address bit, A0, has been transmitted, the data can be clocked out, bit D7 first, on the rising edge of the SK clock signal and can be read via the DO bit. However, a dummy ²0² bit will first precede the read- ing of the first data bit, D7. After the full byte has been read out, the internal address will be automatically incre- mented allowing the next consecutive data byte to be read out without entering further address data. As long as the CS bit remains high, data bit D7 of the next ad- dress will automatically follow data bit D0 of the previous address with no dummy ²0² being inserted between them. The address will keep incrementing in this way until CS returns to a low value. DO will normally be in a high impedance condition until the ²READ² instruction is executed. Note that as the ²READ² instruction is not af- fected by the condition of the ²EWEN² or ²EWDS² in- struction, the READ command is always valid and independent of these two instructions. WRITE The ²WRITE² instruction is used to write a single byte of data into the EEPROM. To instigate a WRITE instruc- tion, the CS bit should be set high, followed by a high start bit and then the instruction code ²01², all transmit- ted via the DI bit. The address information should then follow with the MSB bit being transmitted first. After the last address bit, A0, has been transmitted, the data can be immediately transmitted MSB first. After all the WRITE instruction code, address 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, which will first erase and then write the previously transmitted data byte into the EEPROM. This process takes place inter- nally using the EEPROM ¢s own internal clock and does not require any action from the SK clock. No further in- structions can be accepted by the EEPROM until this in- ternal write-cycle has finished. To determine when the write cycle has ended, CS should be again brought high and the DO bit polled. If DO is low this indicates that the internal write-cycle is still in progress, however, the DO bit will change to a high value when the internal write-cycle has ended. Before a ²WRITE² 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. C S S K D O 0 D I S t a r t b i t 1 t C D S 0 A 6 A 0 D 0 D 7 D 7 1 T h e a d d r e s s i s a u t o m a t i c a l l y i n c r e m e n t e d a t t h i s p o i n t . 1 READ Timing C S S K D O D I 1 0 S t a r t b i t S t a n d b y t S V t C D S V e r i f y B u s y A 6 A 1 D 0 A 0 D 7 t P R A 5 A 4 1 WRITE 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 |