<?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: MCUXpresso config tool, bug found in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/MCUXpresso-config-tool-bug-found/m-p/855782#M130852</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mmlee,&lt;/P&gt;&lt;P&gt;thanks a lot for reporting this issue, in the attachment is the corrected version of&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;patch for MCUXpresso IDE 10.3.x and MCUXpresso Config Tools v5&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Content of the archive should be extracted into the tool's data folder, which is:&lt;BR /&gt;on Windows: c:\ProgramData\NXP\mcu_data_v5&lt;BR /&gt;on Linux/Mac: /home/&amp;lt;USER&amp;gt;/.nxp/mcu_data_v5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After extracting the data into the above folder MCUXpresso Config Tools has to be restarted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are sorry for inconvenience caused by this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jan 2019 12:02:38 GMT</pubDate>
    <dc:creator>jch</dc:creator>
    <dc:date>2019-01-24T12:02:38Z</dc:date>
    <item>
      <title>MCUXpresso config tool, bug found</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MCUXpresso-config-tool-bug-found/m-p/855781#M130851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the following bug in&amp;nbsp;MCUXpresso config tool v5, peripheral v.5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When generating code for the SAI peripheral, using "Record and playback" setting, it ends up generating code which uses the Tx handler for the Rx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the SAI_1_init(void), the peripherals.c&amp;nbsp;SAI_RxInit() should use the SAI_1_Rx_handle, instead of the SAI_1_Tx_handle. Generated by MCUXpresso config tool look at line 12 vs 14.&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;sai_handle_t SAI_1_Tx_handle&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
sai_handle_t SAI_1_Rx_handle&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;SAI_1_init&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
 &lt;SPAN class="comment token"&gt;/* Configure SAI_1_rx_config.bclkSource in case of synchronous mode with second (Tx/Rx) part is selected. */&lt;/SPAN&gt;
 SAI_1_rx_config&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;bclkSource &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; SAI_1_tx_config&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;bclkSource&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 &lt;SPAN class="comment token"&gt;/* Initialize SAI Tx sub-module functionality */&lt;/SPAN&gt;
 &lt;SPAN class="token function"&gt;SAI_TxInit&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;SAI_1_PERIPHERAL&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;SAI_1_tx_config&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 &lt;SPAN class="comment token"&gt;/* Initialize SAI Rx sub-module functionality */&lt;/SPAN&gt;
 &lt;SPAN class="token function"&gt;SAI_RxInit&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;SAI_1_PERIPHERAL&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;SAI_1_rx_config&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 &lt;SPAN class="comment token"&gt;/* Create the SAI Tx transfer handle */&lt;/SPAN&gt;
 &lt;SPAN class="token function"&gt;SAI_TransferTxCreateHandle&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;SAI_1_PERIPHERAL&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;SAI_1_Tx_handle&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; callback&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; NULL&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 &lt;SPAN class="comment token"&gt;/* Create the SAI Rx transfer handle */&lt;/SPAN&gt;
 &lt;SPAN class="token function"&gt;SAI_TransferRxCreateHandle&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;SAI_1_PERIPHERAL&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;SAI_1_Tx_handle&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; callback&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; NULL&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 &lt;SPAN class="comment token"&gt;/* Initialize SAI Tx transfer format */&lt;/SPAN&gt;
 &lt;SPAN class="token function"&gt;SAI_TransferTxSetFormat&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;SAI_1_PERIPHERAL&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;SAI_1_Tx_handle&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;SAI_1_tx_format&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; SAI_1_TX_MCLK_SOURCE_CLOCK_HZ&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; SAI_1_TX_BCLK_SOURCE_CLOCK_HZ&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 &lt;SPAN class="comment token"&gt;/* Initialize SAI Rx transfer format */&lt;/SPAN&gt;
 &lt;SPAN class="token function"&gt;SAI_TransferRxSetFormat&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;SAI_1_PERIPHERAL&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;SAI_1_Rx_handle&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;SAI_1_rx_format&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; SAI_1_RX_MCLK_SOURCE_CLOCK_HZ&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; SAI_1_RX_BCLK_SOURCE_CLOCK_HZ&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;/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;The config page:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;IMG alt="pastedImage_1.png" src="https://community.nxp.com/t5/image/serverpage/image-id/76117i876FCEB27965DF76/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The configs doesn't seem to matter, the generated code always seems to use the Tx handle instead of Rx handle.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 14:16:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MCUXpresso-config-tool-bug-found/m-p/855781#M130851</guid>
      <dc:creator>mmlee</dc:creator>
      <dc:date>2020-11-02T14:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso config tool, bug found</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MCUXpresso-config-tool-bug-found/m-p/855782#M130852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mmlee,&lt;/P&gt;&lt;P&gt;thanks a lot for reporting this issue, in the attachment is the corrected version of&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;patch for MCUXpresso IDE 10.3.x and MCUXpresso Config Tools v5&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Content of the archive should be extracted into the tool's data folder, which is:&lt;BR /&gt;on Windows: c:\ProgramData\NXP\mcu_data_v5&lt;BR /&gt;on Linux/Mac: /home/&amp;lt;USER&amp;gt;/.nxp/mcu_data_v5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After extracting the data into the above folder MCUXpresso Config Tools has to be restarted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are sorry for inconvenience caused by this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2019 12:02:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MCUXpresso-config-tool-bug-found/m-p/855782#M130852</guid>
      <dc:creator>jch</dc:creator>
      <dc:date>2019-01-24T12:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso config tool, bug found</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MCUXpresso-config-tool-bug-found/m-p/855783#M130853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot, this fixed the code!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2019 08:22:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MCUXpresso-config-tool-bug-found/m-p/855783#M130853</guid>
      <dc:creator>mmlee</dc:creator>
      <dc:date>2019-01-30T08:22:44Z</dc:date>
    </item>
  </channel>
</rss>

