Author Topic: Failure of Start bit generation in I2C  (Read 2261 times)

Offline ABBASID

  • Newbie
  • *
  • Posts: 13
    • View Profile
Failure of Start bit generation in I2C
« on: July 04, 2021, 05:54:07 PM »
What are the possible causes of start bit not being generated in I2C using MK60DX256VLL10 though the same code is running fine when using TWR-K60D100M. In my own PCB, MK60DX256VLL10 drives PCA9698 using I2C but could not get it to work becaue microcontroller is not able to generate start bit. When I use I2C signals of TWR-K60D100M (in which accelerometer is being controlled using I2C) to connect to PCA9698, PCA9698 starts working because now the start bit is being generated. Is there any I2C specific setting to initiate in my controller MK60DX256VLL10 ( some settings to initiate I2C or something like that which is not mentioned in manuals) beacuse I am sucessfully using this controller on my same PCB to make use of its GPIO and CAN ports?

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3234
    • View Profile
    • uTasker
Re: Failure of Start bit generation in I2C
« Reply #1 on: July 04, 2021, 11:46:22 PM »
Hi

There is no difference to the I2C in these parts.
Have you measured the bus signals to check that it is in the correct (idle) state so that a start condition can be successfully sent?

Regards

Mark