<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Kinetis MicrocontrollersのトピックI2C start condition issue</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-start-condition-issue/m-p/1298650#M60928</link>
    <description>&lt;P&gt;I am using TWR-K60D100M-KIT and ran its accelerometer example for I2C. It ran succesffully. Modifying this example for neccessary chnages to establish I2C communication with GPIO expander PCA9698, I am facing a problem. The line of code which generates Start bit in accelerometer example is &lt;STRONG&gt;not generating satrt condition&lt;/STRONG&gt; in my GPIO expander case (saw using oscilloscope). The values of I2C related registers just before the line of code generating start condition in both cases (on my pcb and TWR-K60D100M-KIT) are exactly same. So what would be the possible cause of start condition not being generated. SCL and SDA lines of I2C are pulled by 1.5k resistor value (voltage is 3.3V) in my pcb. Address of PCA9698 is 0x40 and I am trying to turn led on/off attached to bank 0, pin 0. &lt;STRONG&gt;Code is attached&lt;/STRONG&gt;. Start-condition-code at line 686 of "fsl_i2c.c"&lt;/P&gt;</description>
    <pubDate>Sat, 26 Jun 2021 10:55:54 GMT</pubDate>
    <dc:creator>hfabbasi</dc:creator>
    <dc:date>2021-06-26T10:55:54Z</dc:date>
    <item>
      <title>I2C start condition issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-start-condition-issue/m-p/1298650#M60928</link>
      <description>&lt;P&gt;I am using TWR-K60D100M-KIT and ran its accelerometer example for I2C. It ran succesffully. Modifying this example for neccessary chnages to establish I2C communication with GPIO expander PCA9698, I am facing a problem. The line of code which generates Start bit in accelerometer example is &lt;STRONG&gt;not generating satrt condition&lt;/STRONG&gt; in my GPIO expander case (saw using oscilloscope). The values of I2C related registers just before the line of code generating start condition in both cases (on my pcb and TWR-K60D100M-KIT) are exactly same. So what would be the possible cause of start condition not being generated. SCL and SDA lines of I2C are pulled by 1.5k resistor value (voltage is 3.3V) in my pcb. Address of PCA9698 is 0x40 and I am trying to turn led on/off attached to bank 0, pin 0. &lt;STRONG&gt;Code is attached&lt;/STRONG&gt;. Start-condition-code at line 686 of "fsl_i2c.c"&lt;/P&gt;</description>
      <pubDate>Sat, 26 Jun 2021 10:55:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-start-condition-issue/m-p/1298650#M60928</guid>
      <dc:creator>hfabbasi</dc:creator>
      <dc:date>2021-06-26T10:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: I2C start condition issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-start-condition-issue/m-p/1299904#M60937</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;Hope you are well. I will gladly help you with this.&lt;BR /&gt;Could you attach your oscilloscope captures? It could give us a good insight into what is happening.&lt;BR /&gt;Additionally, I suggest you check the pin configuration, specifically the functionality you are configuring the I2C. You can change this in the pin_mux.c file&lt;BR /&gt;&lt;BR /&gt;Let me know if this is helpful, if you have more questions do not hesitate to ask me.&lt;BR /&gt;Best regards,&lt;BR /&gt;Omar&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 19:06:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-start-condition-issue/m-p/1299904#M60937</guid>
      <dc:creator>Omar_Anguiano</dc:creator>
      <dc:date>2021-06-29T19:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: I2C start condition issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-start-condition-issue/m-p/1302085#M60955</link>
      <description>&lt;P&gt;&lt;SPAN&gt;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,&amp;nbsp;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&amp;nbsp;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&amp;nbsp;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?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 17:18:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-start-condition-issue/m-p/1302085#M60955</guid>
      <dc:creator>hfabbasi</dc:creator>
      <dc:date>2021-07-05T17:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: I2C start condition issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-start-condition-issue/m-p/1302554#M60967</link>
      <description>&lt;P&gt;Thanks for your suggestion. After so many hours of hard labour, I finally came to the realization that I was not initiating the pin configuration properly to use I2C functionality of PORTE (pin 0 and 1). I2C_1 is ALT6 of PORTE&amp;nbsp;(pin 0 and 1) which I was overlooking in pin_mux.c file&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 17:06:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-start-condition-issue/m-p/1302554#M60967</guid>
      <dc:creator>hfabbasi</dc:creator>
      <dc:date>2021-07-05T17:06:36Z</dc:date>
    </item>
  </channel>
</rss>

