<?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: Hexiwear_bluetooth IAR: TSI Failure in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hexiwear-bluetooth-IAR-TSI-Failure/m-p/627304#M37671</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Henry&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the question about Hexiwear you can make a post on the Hexiwear forums on the following link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.hexiwear.com/forums/"&gt;http://www.hexiwear.com/forums/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vicente Gomez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Nov 2016 20:25:15 GMT</pubDate>
    <dc:creator>vicentegomez</dc:creator>
    <dc:date>2016-11-04T20:25:15Z</dc:date>
    <item>
      <title>Hexiwear_bluetooth IAR: TSI Failure</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hexiwear-bluetooth-IAR-TSI-Failure/m-p/627303#M37670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I tried to compile the Hexiwear_bluetooth IAR project&lt;/P&gt;&lt;P&gt;What I've done:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Download KW40Z_Connectivity_Software_1.0.1&lt;/LI&gt;&lt;LI&gt;Download HEXIWEAR-SW&lt;/LI&gt;&lt;LI&gt;Replaced SDK files with files in&amp;nbsp;KW40Z_Connectivity_Software_1.0.1\KSDK_1.3.0 with&amp;nbsp;..\KW40\SDK modifications&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Added&amp;nbsp;HEXIWEAR_bluetooth folder (&lt;SPAN&gt;HEXIWEAR-SW) &amp;nbsp;to example folder ../KW40Z_Connectivity_Software_1.0.1\ConnSw\examples\bluetooth&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Adapted argument variables:&amp;nbsp;_KSDK_1_3_0_PATH_ and&amp;nbsp;_KSDK_1_3_0_PATH_&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;build ..\KW40Z_Connectivity_Software_1.0.1\KSDK_1.3.0\lib\ksdk_freertos_lib\iar\KW40Z4&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;build ..\KW40Z_Connectivity_Software_1.0.1\ConnSw\examples\bluetooth\HEXIWEAR_bluetooth\frdmkw40z\FreeRTOS\build\iar&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The build run deliveres the failure:&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/7992i5D9B78B5271BF8AD/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;It is not surprising:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;KW40 is specified with TSI=4&lt;/LI&gt;&lt;LI&gt;but in SDK 1.3.0 (fsl_tsi_v4_hal_specific.h) we have the definition:&lt;UL&gt;&lt;LI&gt;typedef struct TsiConfig {&lt;BR /&gt; tsi_electrode_osc_prescaler_t ps; /*!&amp;lt; Prescaler */&lt;BR /&gt; tsi_external_osc_charge_current_t extchrg; /*!&amp;lt; Electrode charge current */&lt;BR /&gt; tsi_reference_osc_charge_current_t refchrg; /*!&amp;lt; Reference charge current */&lt;BR /&gt; tsi_n_consecutive_scans_t nscn; /*!&amp;lt; Number of scans. */&lt;BR /&gt; tsi_analog_mode_select_t mode; /*!&amp;lt; TSI mode of operation. */&lt;BR /&gt; tsi_oscilator_voltage_rails_t dvolt; /*!&amp;lt; Oscillator's voltage rails. */&lt;BR /&gt; uint16_t thresh; /*!&amp;lt; High threshold. */&lt;BR /&gt; uint16_t thresl; /*!&amp;lt; Low threshold. */&lt;BR /&gt;}tsi_config_t;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;the initialization:&lt;UL&gt;&lt;LI&gt;tsi_op_mode.config.serres = module-&amp;gt;rom-&amp;gt;module_params.tsi-&amp;gt;config-&amp;gt;serres; &lt;BR /&gt; tsi_op_mode.config.filter = module-&amp;gt;rom-&amp;gt;module_params.tsi-&amp;gt;config-&amp;gt;filter;&lt;/LI&gt;&lt;LI&gt;don't fit&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Is my preparation process to use the&amp;nbsp;example code right?&lt;/LI&gt;&lt;LI&gt;Which SDK is necessary?&lt;/LI&gt;&lt;LI&gt;What is wrong?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for help in andvance&lt;/P&gt;&lt;P&gt;best regards Henry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2016 13:29:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hexiwear-bluetooth-IAR-TSI-Failure/m-p/627303#M37670</guid>
      <dc:creator>drechen</dc:creator>
      <dc:date>2016-11-03T13:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Hexiwear_bluetooth IAR: TSI Failure</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hexiwear-bluetooth-IAR-TSI-Failure/m-p/627304#M37671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Henry&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the question about Hexiwear you can make a post on the Hexiwear forums on the following link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.hexiwear.com/forums/"&gt;http://www.hexiwear.com/forums/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vicente Gomez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2016 20:25:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hexiwear-bluetooth-IAR-TSI-Failure/m-p/627304#M37671</guid>
      <dc:creator>vicentegomez</dc:creator>
      <dc:date>2016-11-04T20:25:15Z</dc:date>
    </item>
  </channel>
</rss>

