AnsweredAssumed Answered

Using IOCTL set the I2C master, but the I2C0_C1 register value still 0x80

Question asked by Daniel Chai on Aug 22, 2013
Latest reply on Aug 23, 2013 by Chris Brown

Hi All,

 

I am using CW10.4, MQX4.0.1 and MK60F120.

I open a I2C channel and use ioctl(current_dev, IO_IOCTL_I2C_SET_MASTER_MODE, NULL) set it to master.

But when I debug and monitor the register, the value of register I2C0_C1 is always 0x80.

 

Any suggestions about this??

 

Thanks.

 

-Daniel

Outcomes