| Electronic Components Datasheet Search |
|
24LCS52 Datasheet(PDF) 5 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
24LCS52 Datasheet(HTML) 5 Page - Microchip Technology |
|
5 / 12 page ![]() © 1996 Microchip Technology Inc. Preliminary DS21166B-page 5 24LCS52 The eighth bit of slave address determines if the master device wants to read or write to the 24LCS52 (Figure 3- 2). When set to a one a read operation is selected and when set to a zero a write operation is selected. FIGURE 3-2: CONTROL BYTE ALLOCATION 4.0 WRITE OPERATIONS 4.1 Byte Write Following the start signal from the master, the device code(4 bits), the chip select bits (3 bits), and the R/W bit which is a logic low is placed onto the bus by the master transmitter. This indicates to the addressed slave receiver that a byte with a word address will follow after it has generated an acknowledge bit during the ninth clock cycle. Therefore the next byte transmitted by the master is the word address and will be written into the address pointer of the 24LCS52. After receiving Operation Control Code Chip Select R/W Read Write Set Write Protect Register 1010 1010 0110 A2 A1 A0 A2 A1 A0 A2 A1 A0 1 0 0 SLAVE ADDRESS R/W A 1 0 1 0 A2 A1 A0 START READ/WRITE 0 1 1 0 A2 A1 A0 OR another acknowledge signal from the 24LCS52 the master device will transmit the data word to be written into the addressed memory location. The 24LCS52 acknowledges again and the master generates a stop condition. This initiates the internal write cycle, and dur- ing this time the 24LCS52 will not generate acknowl- edge signals (Figure 4-1). If an attempt is made to write to the array when the software or hardware write pro- tection has been enabled, the device will acknowledge the command but no data will be written. The write cycle time must be observed even if the write protection is enabled. 4.2 Page Write The write control byte, word address and the first data byte are transmitted to the 24LCS52 in the same way as in a byte write. But instead of generating a stop con- dition, the master transmits up to 15 additional data bytes to the 24LCS52 which are temporarily stored in the on-chip page buffer and will be written into the memory after the master has transmitted a stop condi- tion. After the receipt of each word, the four lower order address pointer bits are internally incremented by one. The higher order four bits of the word address remains constant. If the master should transmit more than 16 bytes prior to generating the stop condition, the address counter will roll over and the previously received data will be overwritten. As with the byte write operation, once the stop condition is received an inter- nal write cycle will begin (Figure 4-2). If an attempt is made to write to the array when the hardware write pro- tection has been enabled, the device will acknowledge the command but no data will be written. The write cycle time must be observed even if the write protection is enabled. FIGURE 4-1: BYTE WRITE FIGURE 4-2: PAGE WRITE S P BUS ACTIVITY MASTER SDA LINE BUS ACTIVITY S T A R T S T O P CONTROL BYTE WORD ADDRESS DATA A C K A C K A C K S P BUS ACTIVITY MASTER SDA LINE BUS ACTIVITY S T A R T CONTROL BYTE WORD ADDRESS (n) DATA n DATA n + 15 S T O P A C K A C K A C K A C K A C K |
|
|
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 |