AnsweredAssumed Answered

I2C_LDD clock problem

Question asked by gianlucap. on Jul 2, 2014
Latest reply on Jul 7, 2014 by Adrian Cano

Hi,

 

I'm using KL05 micro and I've a problem with setting of "Internal frequency" on I2C_LDD.

 

I've 2 clock path:

     -CLOCK_CONFIG0: MCGIRCLK =20Mhz, bus 10Mhz FEI

     -CLOCK_CONFIG1: MCGIRCLK =2Mhz, bus 667khz BLPI

 

On my code I need to use I2C in both configuration.

 

When I try to set init. value on "Timing dialog window" I can't choose a valid value because one value could be right for one clock and wrong for the other.

This is the message

 

          "Timing setting failed in Clock configuration 0 - it is impossible to set the following items: initialization value"

or

          "Timing setting failed in Clock configuration 1 - it is impossible to set the following items: initialization value"

 

My question is, is it possible to use I2C with both config?

 

Many thanks

Outcomes