Hello all,
Related to my question here http://e2e.ti.com/support/microcontrollers/c2000/f/902/t/341043.aspx
I have adapted the I2C APIs to Motorware 12 project.
Now I want to debug whether the APIs work well or not.
The problem is I can not find the I2C registers to be watched in i2cHandle that I made in halHandle while debugging.
As seen in this picture below, the address is correct (0x00007900), and I have put the init in HAL_init():
// Init I2C A registers
obj->i2cHandle = I2C_init((void *) I2CA_BASE_ADDR, sizeof(I2C_Obj));
Compared to SCI (sciHandle) that I have added too to halHandle, the I2C registers are missing!
Why is that? What did I miss?
Thanks for the help.
Best regards,
Maria
Update: My I2C APIs works well but this problem is still exist that I can not see I2C registers in i2cHandle.