<?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>topic Re: JN5169 - i2c Communication - Raspberry Pi. in Sensors</title>
    <link>https://community.nxp.com/t5/Sensors/JN5169-i2c-Communication-Raspberry-Pi/m-p/961015#M5877</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hi Matthew,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Please look at&amp;nbsp;13. Serial Interface (SI).&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;A href="https://www.nxp.com/docs/en/user-guide/JN-UG-3087" rel="nofollow noopener noreferrer" target="_blank"&gt;JN516x Integrated Peripherals API User Guide&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;If you will work with interrupt service routine.&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="token function"&gt;OS_ISR&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;vI2C_SlaveIsr&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    &lt;SPAN class="comment token"&gt;/* Read interrupt status */&lt;/SPAN&gt;
    uint32 u32SiStat &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;u32REG_SiSlaveRead&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;REG_SI_STAT&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    &lt;SPAN class="comment token"&gt;/* Clear interrupt status (for ALL interrupts that just occurred) */&lt;/SPAN&gt;
    &lt;SPAN class="token function"&gt;vREG_SiSlaveWrite&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;REG_SI_STAT&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; u32SiStat&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    &lt;SPAN class="comment token"&gt;/* Handle interrupt */&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;u32SiStat &lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt; E_AHI_SIS_DATA_RR_MASK&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
    &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;else&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="comment token"&gt;/* Other masks */&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
    &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jul 2019 21:48:45 GMT</pubDate>
    <dc:creator>mario_castaneda</dc:creator>
    <dc:date>2019-07-09T21:48:45Z</dc:date>
    <item>
      <title>JN5169 - i2c Communication - Raspberry Pi.</title>
      <link>https://community.nxp.com/t5/Sensors/JN5169-i2c-Communication-Raspberry-Pi/m-p/961014#M5876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I have a PCB Board which&amp;nbsp; as on it the JN5169 microcontroller (Slave). I have a&amp;nbsp;Sesnor attached to this through an amplifier board . I am reading this through one of the 6 ADC channels but i want to send this to a Raspberry Pi (Master) using i2c communication.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i am asking the community is there any examples out there or could i be pointed to an application note where i2c is used. I have searched on NXP or the internet but not succesful in finding exactly what i am looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matthew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2019 11:32:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/JN5169-i2c-Communication-Raspberry-Pi/m-p/961014#M5876</guid>
      <dc:creator>matthew3</dc:creator>
      <dc:date>2019-07-09T11:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: JN5169 - i2c Communication - Raspberry Pi.</title>
      <link>https://community.nxp.com/t5/Sensors/JN5169-i2c-Communication-Raspberry-Pi/m-p/961015#M5877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hi Matthew,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Please look at&amp;nbsp;13. Serial Interface (SI).&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;A href="https://www.nxp.com/docs/en/user-guide/JN-UG-3087" rel="nofollow noopener noreferrer" target="_blank"&gt;JN516x Integrated Peripherals API User Guide&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;If you will work with interrupt service routine.&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="token function"&gt;OS_ISR&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;vI2C_SlaveIsr&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    &lt;SPAN class="comment token"&gt;/* Read interrupt status */&lt;/SPAN&gt;
    uint32 u32SiStat &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;u32REG_SiSlaveRead&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;REG_SI_STAT&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    &lt;SPAN class="comment token"&gt;/* Clear interrupt status (for ALL interrupts that just occurred) */&lt;/SPAN&gt;
    &lt;SPAN class="token function"&gt;vREG_SiSlaveWrite&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;REG_SI_STAT&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; u32SiStat&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    &lt;SPAN class="comment token"&gt;/* Handle interrupt */&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;u32SiStat &lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt; E_AHI_SIS_DATA_RR_MASK&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
    &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;else&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="comment token"&gt;/* Other masks */&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
    &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2019 21:48:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/JN5169-i2c-Communication-Raspberry-Pi/m-p/961015#M5877</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2019-07-09T21:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: JN5169 - i2c Communication - Raspberry Pi.</title>
      <link>https://community.nxp.com/t5/Sensors/JN5169-i2c-Communication-Raspberry-Pi/m-p/961016#M5878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mario,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Thank you for the reply.&lt;/P&gt;&lt;P&gt;Just another question. The code above that you replied with. Is that from an application note or is it direclty what you have typed out to show me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matthew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2019 09:40:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/JN5169-i2c-Communication-Raspberry-Pi/m-p/961016#M5878</guid>
      <dc:creator>matthew3</dc:creator>
      <dc:date>2019-07-10T09:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: JN5169 - i2c Communication - Raspberry Pi.</title>
      <link>https://community.nxp.com/t5/Sensors/JN5169-i2c-Communication-Raspberry-Pi/m-p/961017#M5879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The User Guide provides the information to how enabled the SI.&lt;/P&gt;&lt;P&gt;The code is an implementation for the ISR cleaning the SI flag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2019 16:59:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/JN5169-i2c-Communication-Raspberry-Pi/m-p/961017#M5879</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2019-07-10T16:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: JN5169 - i2c Communication - Raspberry Pi.</title>
      <link>https://community.nxp.com/t5/Sensors/JN5169-i2c-Communication-Raspberry-Pi/m-p/961018#M5880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mario,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Thank you for the help. Will look at the User Guide and figure out how to write complete code for my application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matthew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2019 07:21:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/JN5169-i2c-Communication-Raspberry-Pi/m-p/961018#M5880</guid>
      <dc:creator>matthew3</dc:creator>
      <dc:date>2019-07-11T07:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: JN5169 - i2c Communication - Raspberry Pi.</title>
      <link>https://community.nxp.com/t5/Sensors/JN5169-i2c-Communication-Raspberry-Pi/m-p/961019#M5881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthew Wood,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you have issues with your implementation and I could provide some advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2019 15:48:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/JN5169-i2c-Communication-Raspberry-Pi/m-p/961019#M5881</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2019-07-11T15:48:36Z</dc:date>
    </item>
  </channel>
</rss>

