<?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>Model-Based Design Toolbox (MBDT)中的主题 Re: Analog Read Block Duplication</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Analog-Read-Block-Duplication/m-p/1293262#M6178</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/187165"&gt;@peaces&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Sorry for my delayed answer!&lt;/P&gt;
&lt;P&gt;We cannot increase the "Number of commands" values because, according to the Manual, "Every CFIFO and RFIFO, including CFIFO0, has four entries."&lt;/P&gt;
&lt;P&gt;But having a look at the screenshots you've provided, it looks like you are using only a single block of EQADC Push Command, probably with 4 commands, each one ending in a different result buffer. What you can do, is to use multiple EQADC Push Command blocks, each one inserting 4 commands in a different CFIFO and each command to store the results in a different RFIFO. Basically, you can convert 4 values using CFIFO0 to RFIFO0, the next 4 using CFIFO1 and RFIFO1, and so on. Of course, you have to enable the CFIFOs in the ADC Config block.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_0-1623845689936.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147216i0BADC4573FEB2DAD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mariuslucianand_0-1623845689936.png" alt="mariuslucianand_0-1623845689936.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Please have a look at the attached model.&lt;/P&gt;
&lt;P&gt;For the FreeMaster, you can try using the interrupts mechanism. For that, you have to open the FreeMaster config block, and select short or long interrupt (in long it will handle all the data FreeMaster data transfer) with an increased priority higher than the RFIFO interrupts.&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;</description>
    <pubDate>Wed, 16 Jun 2021 12:28:26 GMT</pubDate>
    <dc:creator>mariuslucianand</dc:creator>
    <dc:date>2021-06-16T12:28:26Z</dc:date>
    <item>
      <title>Analog Read Block Duplication</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Analog-Read-Block-Duplication/m-p/1286184#M6113</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I want to read more analog values in the "EQADC_Push_ComMand" block but I am not allowed to increase the "Number of Commands" value (more than four) is there any other solution?&lt;BR /&gt;When I use multiple EQADC_ISR blocks in Freemaster and monitor the incoming data one by one, there is a problem with the last transmitted data.&lt;BR /&gt;Problem: reading only once on the last data read.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Analog.PNG" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/146107i0AEB9948E3D14441/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Analog.PNG" alt="Analog.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Data1.PNG" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/146109iA6C0940579573CB3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Data1.PNG" alt="Data1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Data2.PNG" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/146110iCB195D0BDA49B589/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Data2.PNG" alt="Data2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Screenshots taken at different times as data continues to flow.&lt;BR /&gt;Marked unchanged data.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2021 14:41:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Analog-Read-Block-Duplication/m-p/1286184#M6113</guid>
      <dc:creator>peaces</dc:creator>
      <dc:date>2021-06-02T14:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Analog Read Block Duplication</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Analog-Read-Block-Duplication/m-p/1293262#M6178</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/187165"&gt;@peaces&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Sorry for my delayed answer!&lt;/P&gt;
&lt;P&gt;We cannot increase the "Number of commands" values because, according to the Manual, "Every CFIFO and RFIFO, including CFIFO0, has four entries."&lt;/P&gt;
&lt;P&gt;But having a look at the screenshots you've provided, it looks like you are using only a single block of EQADC Push Command, probably with 4 commands, each one ending in a different result buffer. What you can do, is to use multiple EQADC Push Command blocks, each one inserting 4 commands in a different CFIFO and each command to store the results in a different RFIFO. Basically, you can convert 4 values using CFIFO0 to RFIFO0, the next 4 using CFIFO1 and RFIFO1, and so on. Of course, you have to enable the CFIFOs in the ADC Config block.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_0-1623845689936.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147216i0BADC4573FEB2DAD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mariuslucianand_0-1623845689936.png" alt="mariuslucianand_0-1623845689936.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Please have a look at the attached model.&lt;/P&gt;
&lt;P&gt;For the FreeMaster, you can try using the interrupts mechanism. For that, you have to open the FreeMaster config block, and select short or long interrupt (in long it will handle all the data FreeMaster data transfer) with an increased priority higher than the RFIFO interrupts.&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 12:28:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Analog-Read-Block-Duplication/m-p/1293262#M6178</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2021-06-16T12:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: Analog Read Block Duplication</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Analog-Read-Block-Duplication/m-p/1294174#M6186</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/72088"&gt;@mariuslucianand&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I want to read data using all the analog inputs in the image, but I cannot do this because of the 4 operations allowed by the EQADC block. Since there is no solution in the example given, what I want to do is in the appendix.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="peaces_0-1623939475213.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147361i40A0B0A1F225C909/image-size/medium?v=v2&amp;amp;px=400" role="button" title="peaces_0-1623939475213.png" alt="peaces_0-1623939475213.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 14:18:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Analog-Read-Block-Duplication/m-p/1294174#M6186</guid>
      <dc:creator>peaces</dc:creator>
      <dc:date>2021-06-17T14:18:19Z</dc:date>
    </item>
  </channel>
</rss>

