This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Team,
C:\ti\c2000\C2000Ware_5_00_00_00\driverlib\f2837xs\examples\cpu1\i2c, ex6
spracs8_Interfacing EEPROM Using PMBus in I2C Mode
1.
'temp' is an unsigned 32 bits integer variable and stored the 'pControlAddr' and 'NumOfDataBytes' like below figure:
Why design the format like this? 16bits are enough to store the EEPROM's address, why put NumOfDataBytes together with it?
2. I can't find the part which transmit the data the pTX_MsgBuffer pointed. Could you please point it to us?
For example, in Example 1: EEPROM Byte Write, I2C_MasterTransmitter has been called in main.c line201. Then it called I2C_TransmitSlaveAddress_ControlBytes in i2cLib_FIFO_master_interrupt.c line177. After it put the EEPROM's address to transmit, it return SUCCESS. I don't find the pTX_MsgBuffer's handler.
--
Thanks & Regards
Yale
Hi,
Please note that our Subject matter expert is currently Out of Office and expected to be back by 26th October. Please expect delay in response.
Thanks,
Varsha
Hi Team,
May I ask to know the status of this thread?
--
Thanks & Regards
Yale,
1. The NumOfDataBytes is used to indicate how many data bytes are to be read/written starting from the EEPROM address.
2. This is handled in the interrupt ISR via function "Write_Read_TX_RX_FIFO"
Best Regards
Siddharth