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.

TMS320F28384S: CM i2c examples

Part Number: TMS320F28384S
Other Parts Discussed in Thread: TMP101, TMP100

Tool/software:

Hi

Following the SPRUII0F flowchart for the CM i2c I have programmed the peripheral in polled mode and all works fine. Now if possible I would like to switch to interrupt driven mode but I have some problems. First of all if a start a multi byte write sequence using:

I2C_setMasterConfig(I2C0_BASE, I2C_MASTER_CMD_BURST_SEND_START);

I receive the first interrupt where I write the data to send and apply a continue command:

I2C_setMasterConfig(I2C0_BASE, I2C_MASTER_CMD_BURST_SEND_CONT);

After this I don't receive any other interrupt and so communication will stop.

Do you have any suggestion? because the few example available in C2000 ware are not usefull.

Best Regards