<?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>NFC中的主题 Re: NHS3152 External Sensor Data Acquisition</title>
    <link>https://community.nxp.com/t5/NFC/NHS3152-External-Sensor-Data-Acquisition/m-p/769120#M3608</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dries,&lt;/P&gt;&lt;P&gt;Thanks so much for your reply.&amp;nbsp; May I further ask about what kind of examples are provided to use I2C and SPI interface. Actually, my aim is just to read the external sensor signal via NFC. I think currently do not need to use high-level abstraction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much!&lt;BR /&gt;Albert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 20 May 2018 14:22:17 GMT</pubDate>
    <dc:creator>albertlauyule</dc:creator>
    <dc:date>2018-05-20T14:22:17Z</dc:date>
    <item>
      <title>NHS3152 External Sensor Data Acquisition</title>
      <link>https://community.nxp.com/t5/NFC/NHS3152-External-Sensor-Data-Acquisition/m-p/769118#M3606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently want to build an external sensor connected with NHS3152 hoping to read the external sensor sensor value through NFC. The project is similar to the official temperature logger example. Instead using the internal temperature, I hope to read the external sensors made by myself. I have bought a NHS3152 General Starter Kit and and LPC-Link2 board.&lt;/P&gt;&lt;P&gt;As I have limited experience in using Arduino. I am wondering is there any similar firmware/library so I could modify on to perform the function. If there is none, I am wondering if where and how I can start with.&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Albert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 09:53:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/NHS3152-External-Sensor-Data-Acquisition/m-p/769118#M3606</guid>
      <dc:creator>albertlauyule</dc:creator>
      <dc:date>2018-05-18T09:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: NHS3152 External Sensor Data Acquisition</title>
      <link>https://community.nxp.com/t5/NFC/NHS3152-External-Sensor-Data-Acquisition/m-p/769119#M3607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We don't provide a high-level abstraction to a generic sensor. In the SDK, examples are provided how to use the I2C and SPI interfaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best would be to abstract away the external sensor, so that&amp;nbsp;fetching sensor data is just one or two functions calls away.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Dries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 May 2018 12:15:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/NHS3152-External-Sensor-Data-Acquisition/m-p/769119#M3607</guid>
      <dc:creator>driesmoors</dc:creator>
      <dc:date>2018-05-20T12:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: NHS3152 External Sensor Data Acquisition</title>
      <link>https://community.nxp.com/t5/NFC/NHS3152-External-Sensor-Data-Acquisition/m-p/769120#M3608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dries,&lt;/P&gt;&lt;P&gt;Thanks so much for your reply.&amp;nbsp; May I further ask about what kind of examples are provided to use I2C and SPI interface. Actually, my aim is just to read the external sensor signal via NFC. I think currently do not need to use high-level abstraction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much!&lt;BR /&gt;Albert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 May 2018 14:22:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/NHS3152-External-Sensor-Data-Acquisition/m-p/769120#M3608</guid>
      <dc:creator>albertlauyule</dc:creator>
      <dc:date>2018-05-20T14:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: NHS3152 External Sensor Data Acquisition</title>
      <link>https://community.nxp.com/t5/NFC/NHS3152-External-Sensor-Data-Acquisition/m-p/769121#M3609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SDK 11.1 (BETA) you can find the example applications&amp;nbsp;&lt;EM&gt;app_example_dp_i2c&lt;/EM&gt; and&amp;nbsp;&lt;EM&gt;app_example_dp_ssp&lt;/EM&gt;.&amp;nbsp;And in the documentation, under &lt;EM&gt;docs/firmware.html&amp;nbsp;&lt;/EM&gt;, you can navigate to the description of the I2C&amp;nbsp;or the SPI module and find a full description, together with minimalist code on how to use them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That will hopefully get you started.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck,&lt;BR /&gt;Regards,&lt;BR /&gt;Dries,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2018 19:57:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/NHS3152-External-Sensor-Data-Acquisition/m-p/769121#M3609</guid>
      <dc:creator>driesmoors</dc:creator>
      <dc:date>2018-05-21T19:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: NHS3152 External Sensor Data Acquisition</title>
      <link>https://community.nxp.com/t5/NFC/NHS3152-External-Sensor-Data-Acquisition/m-p/769122#M3610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dries,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help! As your suggestion, I have upload the&amp;nbsp;&lt;EM&gt;Debug_slave/&lt;/EM&gt;&lt;EM style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;app_example_dp_i2c&amp;nbsp;&lt;/EM&gt;onto it and pressed 'reset'. Then I tried to use Arduino Uno to communicate through I2C by one of its slave address 0x01. But unfortunately I can not get any response. Did I miss any step to establish I2C?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it helps, here is the Arduino code I used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/22342i81DDDB6886E77A05/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your advice is much appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Albert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 15:05:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/NHS3152-External-Sensor-Data-Acquisition/m-p/769122#M3610</guid>
      <dc:creator>albertlauyule</dc:creator>
      <dc:date>2018-05-22T15:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: NHS3152 External Sensor Data Acquisition</title>
      <link>https://community.nxp.com/t5/NFC/NHS3152-External-Sensor-Data-Acquisition/m-p/769123#M3611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At first sight, the code looks OK. Can you attach a scope and see the full communication on the SCL and SDA lines?&lt;/P&gt;&lt;P&gt;You can also start a debugging session to see if HW I2C block issues interrupts on the NHS3100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, double-check the I2C address, the write portion and the read portion of what you are sending from your Arduino board.&amp;nbsp;After glancing through the example code, it looks like you only&amp;nbsp;need to send a single byte, not 4, after issuing the I2C address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;BR /&gt;Dries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 08:55:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/NHS3152-External-Sensor-Data-Acquisition/m-p/769123#M3611</guid>
      <dc:creator>driesmoors</dc:creator>
      <dc:date>2018-05-25T08:55:17Z</dc:date>
    </item>
  </channel>
</rss>

