| Electronic Components Datasheet Search |
|
HT48F06E Datasheet(PDF) 17 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT48F06E Datasheet(HTML) 17 Page - Holtek Semiconductor Inc |
|
17 / 69 page ![]() HT48F06E/HT48F10E/HT48F30E Rev. 1.00 17 September 10, 2007 When reading data from the EEPROM, the data will clocked out on the rising edge of SK and appear on DO. The DO pin will normally be in a high-impedance condi- tion unless a READ statement is being executed. When writing to the EEPROM the data must be presented first on DI and then clocked in on the rising edge of SK. After all the instruction, address and data information has been transmitted, CS should be cleared to ²0² to termi- nate the instruction transmission. Note that after power on the EEPROM must be initialised as described. As indirect addressing is the only way to access the EECR register, all read and write operations to this reg- ister must take place using the Indirect Addressing Reg- ister, IAR1, and the Memory Pointer, MP1. Because the EECR control register is located in Bank 1 of the RAM Data Memory at location 40H, the MP1 Memory Pointer must first be set to the value 40H and the Bank Pointer set to ²1². EEPROM Data Memory Instruction Set Control over the internal EEPROM, to execute functions such as read, write, disable, enable etc., is implemented through instructions of which there are a total of seven. The related instruction is transmitted to the EEPROM via the DI bit, after CS has first been set to ²1² to enable the EEPROM and a start bit ²1² has been transmitted. For the READ, WRITE and ERASE instructions, each of the three instructions has its own two bit related instruc- tion code. The 7-bit address should then be transmitted. The address is transmitted in MSB first format. For the other four instructions, ²EWEN², ²EWDS², ²ERAL² and ²WRAL², after the start bit has been trans- mitted a ²00² instruction code should then follow. The 7-bit address information should then follow. The first two bits of this address is instruction dependant as shown in the table while the remaining bits have don ¢t care values and can be either high or low. After any write or erase instruction is issued, the internal write function of the EEPROM will be used to write the data into the device. As this internal write operation uses the EEPROM ¢s own internal clock, no further instruc- tions will be accepted by the EEPROM until the internal write function has ended. After power on and before any instruction is issued the EEPROM must be properly in- itialised to ensure proper operation. C S S K D O D I t C D S t C S S t C S H t S K L t S K H t D I S t D I H t P D 1 t P D 0 1 V a l i d D a t a V a l i d D a t a Clocking Data In and Out of the EEPROM Instruction Function Start Bit Instruction Code Address Data READ Read Out Data Byte(s) 1 10 A6~A0 D7~D0 ERASE Erase Single Data Byte 1 11 A6~A0 ¾ WRITE Write Single Data Byte 1 01 A6~A0 D7~D0 EWEN Erase/Write Enable 1 00 11 XXXXX ¾ EWDS Erase/Write Disable 1 00 00 XXXXX ¾ ERAL Erase All 1 00 10 XXXXX ¾ WRAL Write All 1 00 01 XXXXX ¾ Instruction Set Summary |
|
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 |