Posted on July 06, 2012 at 10:02Hi, With a STM32, I have a problem to select either EEPROM (M24LR64-R and M24M02-DR) on the same bus I2C. Here are the ''device select code'': For M24LR64-R: 1 0 1 0 X 1 1 X In the order: 1 0 1 0 = Device ...
Posted on July 12, 2012 at 09:07because that is when I send I2C_Send7bitAddress(I2C1, chip_select , I2C_Direction_Transmitter); I have not received the ACK from the device
Posted on July 11, 2012 at 17:22
yes, it's the problem.. no ACK
the code:
void
config_i2c()
{
unsigned
char
chip_select = 0xAC;
// 1010 1100
int
i = 0;
char
tx1_buffer[] =
''test''
;
char
rx1_buffer[100];
bzero(rx1_buffer,10...
Posted on July 11, 2012 at 16:22I have just two EEPROM... A17 and A16 are sent during the device_select code but are used to select a memory location in EEPROM because the M24M02 EEPROM may contain 2M bit
Posted on July 11, 2012 at 15:28E2 is hardwired high but A17 bit and A16 bit are selected in the device_selected... when i do: I2C_Send7bitAddress(I2C1, device_select , I2C_Direction_Transmitter); when device select is set: 1010 1000 and 1010 1010 a...