cancel
Showing results for 
Search instead for 
Did you mean: 

Header byte and address transmission b/n M24C08 and STR710F

spectrum_hp2004
Associate II
Posted on August 26, 2004 at 07:15

Header byte and address transmission b/n M24C08 and STR710F

2 REPLIES 2
spectrum_hp2004
Associate II
Posted on August 24, 2004 at 05:12

Hi

In 7 bit addressing mode, how do you send the device select code.

The Transfer Sequencing provided in Page 242 of STR710F hardware reference manual indicates transmission of the address byte after generation of START ( no header transmission). But the EEPROM M24C08 will not respond unless he receives a slave address( device select code). When is the Slave address transmitted in the 7 bit mode by STR710?

amineibrahim_halila
Associate II
Posted on August 25, 2004 at 15:08

Hi,

The EEPROM M24C08 needs to receive the device select Code in order to receive

This Device select codes corresponds to the Address (which is sent directly after START generating) page 242 STR710F hardware reference manual.

After sending the address (the device select code) you need after that to send the first byte address of the memory where you want to perform Read Write operations.

Example:

If the configuration of your EEPROM M24C08 is E2=1; A9=0; A8=0; and you want to write into the address 0x0 of the memory you need to do the following:

Generate start

Wait EV5

Send A0 to the EEPROM

Wait EV6 ; EV8

Send 0x0 to the EEPROM

Wait EV8

Write your data

Regards

Note : If you need more information you can see application note AN1782 ''STR71x I2C Communication with M24Cxx EEPROM''