<?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 HOW TO simplification NHS3100 Tlogger project  in NFC</title>
    <link>https://community.nxp.com/t5/NFC/HOW-TO-simplification-NHS3100-Tlogger-project/m-p/864344#M4912</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I download the latest version of nhs3100 SDK, and download the tlogger project to my demo board with nothing changed .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #172b4d; background-color: #ffffff;"&gt;Memory region Used Size Region Size %age Used&lt;/SPAN&gt;&lt;BR style="color: #172b4d; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #172b4d; background-color: #ffffff;"&gt;Flash30: 15564 B 30 KB 50.66%&lt;/SPAN&gt;&lt;BR style="color: #172b4d; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #172b4d; background-color: #ffffff;"&gt;SRAM8: 2980 B 8176 B 36.45%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #172b4d; "&gt;After download the program ,there are only&amp;nbsp; 15156 bytes left for data storage .with these memory ,there are only&amp;nbsp;&lt;SPAN style="color: #ff00ff;"&gt;82464 temperature data can store .&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #ff00ff; "&gt;If I set the meameasurement interval 1 second , with these left storage ,3100 just can work one day .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #ff00ff; "&gt;so ,I want to know ,is there any methods to simplify the tlogger project ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #ff00ff; "&gt;I need more memory left after download the program .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #ff00ff; "&gt;who can help me ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #ff00ff; "&gt;tks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jan 2019 06:49:45 GMT</pubDate>
    <dc:creator>xiangxuejiao00</dc:creator>
    <dc:date>2019-01-28T06:49:45Z</dc:date>
    <item>
      <title>HOW TO simplification NHS3100 Tlogger project</title>
      <link>https://community.nxp.com/t5/NFC/HOW-TO-simplification-NHS3100-Tlogger-project/m-p/864344#M4912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I download the latest version of nhs3100 SDK, and download the tlogger project to my demo board with nothing changed .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #172b4d; background-color: #ffffff;"&gt;Memory region Used Size Region Size %age Used&lt;/SPAN&gt;&lt;BR style="color: #172b4d; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #172b4d; background-color: #ffffff;"&gt;Flash30: 15564 B 30 KB 50.66%&lt;/SPAN&gt;&lt;BR style="color: #172b4d; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #172b4d; background-color: #ffffff;"&gt;SRAM8: 2980 B 8176 B 36.45%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #172b4d; "&gt;After download the program ,there are only&amp;nbsp; 15156 bytes left for data storage .with these memory ,there are only&amp;nbsp;&lt;SPAN style="color: #ff00ff;"&gt;82464 temperature data can store .&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #ff00ff; "&gt;If I set the meameasurement interval 1 second , with these left storage ,3100 just can work one day .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #ff00ff; "&gt;so ,I want to know ,is there any methods to simplify the tlogger project ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #ff00ff; "&gt;I need more memory left after download the program .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #ff00ff; "&gt;who can help me ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #ff00ff; "&gt;tks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2019 06:49:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/HOW-TO-simplification-NHS3100-Tlogger-project/m-p/864344#M4912</guid>
      <dc:creator>xiangxuejiao00</dc:creator>
      <dc:date>2019-01-28T06:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO simplification NHS3100 Tlogger project</title>
      <link>https://community.nxp.com/t5/NFC/HOW-TO-simplification-NHS3100-Tlogger-project/m-p/864345#M4913</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;I'm unsure how to reach to that 82464 number. It also sounds already quite high. What's your target?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can store more measurement data by removing code:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If you don't need the functionality of the event module, you can strip it down a bit, reducing code space requirements, and also decreasing the assigned EEPROM memory.&lt;/LI&gt;&lt;LI&gt;If you don't need the text capabilities, you can remove the code that creates custom text messages at startup, inserted in the initial NDEF message.&lt;/LI&gt;&lt;LI&gt;If you adapt the communication messages, you can read out compressed data. That&amp;nbsp;gives you both a speed-up when reading out all data, and means you don't nee to retain the decompression code in the compress module.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or by more agressive compiling:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Link-time optimization is not turned on. By &lt;EM&gt;carefully&lt;/EM&gt; and &lt;EM&gt;selectively&lt;/EM&gt; enabling this option on a file-by-file basis, you can achieve code reduction at link time. Do not enable this for the whole project at once - it will provide a useless binary.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or by optimizing your compression:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The compress module is just one example of lossless compression. You can tweak its parameters and gain a bigger compression ratio, or you can replace it with a better algorithm of your choosing.&lt;/LI&gt;&lt;LI&gt;You can play with the resolution of the storage of each measurement: do you need 11 bits per sample? Perhaps a remapping before storing can already reduce it with 1 or 2 bits; perhaps a lossy compression further reduces your storage needs.&lt;/LI&gt;&lt;LI&gt;Have a look at the hints given in &lt;EM&gt;&amp;lt;SDK&amp;gt;/docs/DataStorage.pdf&lt;/EM&gt;.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck,&lt;BR /&gt;Best regards,&lt;BR /&gt;Dries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2019 20:56:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/HOW-TO-simplification-NHS3100-Tlogger-project/m-p/864345#M4913</guid>
      <dc:creator>driesmoors</dc:creator>
      <dc:date>2019-01-28T20:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO simplification NHS3100 Tlogger project</title>
      <link>https://community.nxp.com/t5/NFC/HOW-TO-simplification-NHS3100-Tlogger-project/m-p/864346#M4914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks ,&lt;/P&gt;&lt;P&gt;I use the SDK project ,and&amp;nbsp; let the 3100 work until storage is full ,and get&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;82464 temperature .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;My boss order&amp;nbsp; me to&amp;nbsp;&lt;SPAN style="color: #333333; font-weight: 200; font-size: 13.714284896850586px;"&gt;simplify the project as possible as I can !&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333; font-size: 13.7143px;"&gt;I have read your answer ,it is so useful to me .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333; font-size: 13.7143px;"&gt;One more question ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333; font-size: 13.7143px;"&gt;1、if I set 8 bits per sample ,how can I store one temperature more than 256?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333; font-size: 13.7143px;"&gt;2、how to &lt;SPAN style="color: #51626f;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;turned on&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f;"&gt;Link-time optimization&amp;nbsp;?can you describe more detail about this&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;agressive compiling?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2019 07:04:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/HOW-TO-simplification-NHS3100-Tlogger-project/m-p/864346#M4914</guid>
      <dc:creator>xiangxuejiao00</dc:creator>
      <dc:date>2019-01-29T07:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO simplification NHS3100 Tlogger project</title>
      <link>https://community.nxp.com/t5/NFC/HOW-TO-simplification-NHS3100-Tlogger-project/m-p/864347#M4915</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;This can be done when taking your use case specifications into account.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, your use case envisions temperatures between -17&lt;SPAN style="color: #444444; background-color: #ffffff; font-size: 13.2134px;"&gt;°&lt;/SPAN&gt;C up to 50&lt;SPAN style="color: #444444; background-color: #ffffff; font-size: 13.2134px;"&gt;°&lt;/SPAN&gt;C, and requires a resolution of 0.5&lt;SPAN style="color: #444444; background-color: #ffffff; font-size: 13.2134px;"&gt;°&lt;/SPAN&gt;C for freezing temperatures, and 1&lt;SPAN style="color: #444444; background-color: #ffffff; font-size: 13.2134px;"&gt;°&lt;/SPAN&gt;C for positive temperatures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So your full temperature range is then, say, [-20&lt;SPAN style="color: #444444; background-color: #ffffff; font-size: 13.2134px;"&gt;°&lt;/SPAN&gt;C, 55&lt;SPAN style="color: #444444; background-color: #ffffff; font-size: 13.2134px;"&gt;°&lt;/SPAN&gt;C].&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;From -20&lt;SPAN style="color: #444444; background-color: #ffffff; font-size: 13.2134px;"&gt;°&lt;/SPAN&gt;C until 0&lt;SPAN style="color: #444444; background-color: #ffffff; font-size: 13.2134px;"&gt;°&lt;/SPAN&gt;C there are 41 possible values: -20, -19.5, -19, ... -1, -0.5, 0&lt;/LI&gt;&lt;LI&gt;Above 0&lt;SPAN style="color: #444444; background-color: #ffffff; font-size: 13.2134px;"&gt;°&lt;/SPAN&gt;C there are 55 possible values: 1, 2, 3, 4, ..., 54, 55.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This gives a total of 96 different values. Every temperature value you measure can thus be mapped to an integer value between 0 and 95. This requires 7 bits for storage. You still have some integers left to indicate extreme temperatures that&amp;nbsp;are not covered by your full&amp;nbsp;&lt;SPAN&gt;use case-specific temperature range.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code can be adapted to follow this sequence:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;measure temperature&lt;/LI&gt;&lt;LI&gt;map value to a number in the range [0..95]&lt;/LI&gt;&lt;LI&gt;store the 7-bit number&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another option is to store the difference between successive temperatures only. Depending on your thermal resistance, you can check what the maximum possible temperature change is between two measurements. Perhaps this is only 10&amp;nbsp;degrees. Then you need to find a system that can store full temperatures once in a while, and store differences most of the time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Last, a word of caution. The compression&amp;nbsp;library used in the demo application will not yield the same compression ratio for all data sets: depending on&amp;nbsp;the temperature changes experienced, the compression may be better - or much worse.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;BR /&gt;Dries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2019 09:35:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/HOW-TO-simplification-NHS3100-Tlogger-project/m-p/864347#M4915</guid>
      <dc:creator>driesmoors</dc:creator>
      <dc:date>2019-01-29T09:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO simplification NHS3100 Tlogger project</title>
      <link>https://community.nxp.com/t5/NFC/HOW-TO-simplification-NHS3100-Tlogger-project/m-p/864348#M4916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;mostly, temperature changes slowly. so you can just record the difference of samples.&amp;nbsp;&lt;/P&gt;&lt;P&gt;eg. 1st&amp;nbsp; sample = 0x1234, 2nd sample =0x1298, 3rd = 0x1350, you can record as&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x1234,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;0x1298-0x1234, (1 byte)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;0x1350-0x1298, (1 byte)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2019 07:39:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/HOW-TO-simplification-NHS3100-Tlogger-project/m-p/864348#M4916</guid>
      <dc:creator>matt_li0716</dc:creator>
      <dc:date>2019-02-01T07:39:57Z</dc:date>
    </item>
  </channel>
</rss>

