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.

TMS320F280049C: How to make I2C send ACK signal

Part Number: TMS320F280049C
Other Parts Discussed in Thread: C2000WARE

Dear team:

When using the C2000 library function, my customer found that the hardware I2C does not seem to be a function for the host to send ACK signal.

I2C_getData(I2CA_BASE);

If the above function is called to read I2C messages, the hardware will automatically send a NACK.

But the time sequence my customer needs is continuous reading:

After receiving, an ACK signal should be sent until it is accepted and calls the "i2c_sendnack (i2ca_base);" function. But now as soon as the information is read, the hardware will automatically send a NACK signal.

Best regards

  • Green,

    ACK is automatically sent in both repeat mode / non-repeat mode. You don't have a way to manually send ACK signal.

    It is not completely clear from description what you are trying to do. But, below examples shows how to configure I2C to talk to EEPROM.

    Path: <C2000Ware>\driverlib\f2838x\examples\c28x\i2c

    Example: i2c_ex4_eeprom_polling / i2cLib_FIFO_master_interrupt

    Regards,

    Manoj