2010-07-18 08:53 AM
STM8 Discovery wrong I2C format
2011-05-17 06:09 AM
Tech support suggested that I use the EEROM example so I used the “I2C_EE_PageWrite� function from the EEPROM example and just changed the type from u16 to u8 and removed the line “//I2C_SendData((u8)(WriteAddr >> 8)); /* MSB */� so that I wouldn’t send a zero byte to the TDA chip with each sub address.
It works perfect, but I’m still not sure why since they both call the I2CSendData function from I2C.c
Jeff