AnsweredAssumed Answered

KL16 I2C does not generate repeated start condition (PE)

Question asked by Jacob Jennings on Feb 24, 2016
Latest reply on Feb 24, 2016 by Jacob Jennings

Similar to these two,

KL25Z and I2C: Missing Repeated Start Condition | MCU on Eclipse

Kinetis K - I2C: Repeat start cannot be generated

 

On an MKL16 (128 flash version) I am seeing a missing repeat start bug when using the I2C_LDD Processor Expert component. I tried many clock path options including many that set the final I2C0 prescaler to 0 and 1, and the issue persists.

 

Screen Shot 2016-02-24 at 1.51.39 PM.png

kl-no-repeat-start-i2c.PNG

 

This should be a write to the i2c address 0x68. Here's an example of what I expect (this was generated using a different device/master)

kl-no-repeat-start-i2c-working-example.PNG

 

Edit: A blank project with only an I2C component seems to work fine. The issue must be with the use of I2C0 at the same time as some other component.

Edit: False alarm: a blank PE project with only an I2C component shows the same issue.

Edit: Tried operating at 3.3v instead of 1.8v, same result. I cannot find any working configuration for i2c.

Outcomes