<?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: Issues while running ISELED parallel commands in S32 SDK</title>
    <link>https://community.nxp.com/t5/S32-SDK/Issues-while-running-ISELED-parallel-commands/m-p/1321846#M2245</link>
    <description>&lt;P&gt;Hello, I have some additional questions:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;for parallel &amp;amp; block commands, when is the &lt;EM&gt;TRANSMISSION_COMPLETE&lt;/EM&gt; sent to the application (via callback)? Is it after the first command from the parallel/block buffer is successfully sent to the ISELEDs or after the last command is sent?&lt;/LI&gt;&lt;LI&gt;Is is safe to overwrite the buffers for parallel &amp;amp; block commands after the&amp;nbsp;&lt;EM&gt;TRANSMISSION_COMPLETE&lt;/EM&gt; signal is received?&lt;/LI&gt;&lt;LI&gt;What happens if some of the commands from the buffer are successfully sent and some aren't (timeouts, bus errors)?&lt;/LI&gt;&lt;LI&gt;What happens if some of the commands are invalid (led address, format, etc)?&lt;/LI&gt;&lt;LI&gt;Is there any restriction in using the parallel &amp;amp; block commands together with the regular single commands?&lt;/LI&gt;&lt;LI&gt;In case of an error, is there any possibility that the application callback is called multiple times (e.g. once for reporting a timeout and again for reporting the &lt;EM&gt;TRANSMISSION_COMPLETE / RECEPTION_COMPLETE&lt;/EM&gt;)?&lt;/LI&gt;&lt;LI&gt;Is is guaranteed that for a request the callback is only called once for downstream cmds (Tx complete) or twice for upstream cmds (Tx complete, Rx complete)?&lt;/LI&gt;&lt;LI&gt;After the application callback is called by iseled driver, is it needed to wait for an additional delay before sending the next command or it can be sent right away?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sorin&lt;/P&gt;</description>
    <pubDate>Wed, 11 Aug 2021 10:27:42 GMT</pubDate>
    <dc:creator>SorinT</dc:creator>
    <dc:date>2021-08-11T10:27:42Z</dc:date>
    <item>
      <title>Issues while running ISELED parallel commands</title>
      <link>https://community.nxp.com/t5/S32-SDK/Issues-while-running-ISELED-parallel-commands/m-p/1307691#M2225</link>
      <description>&lt;P&gt;Hello, I'm using the ISELED driver version 4.8.0 and I'm having some issues with the parallel commands.&lt;/P&gt;&lt;P&gt;I have defined a buffer pool in the application for parallel commands. Whenever I need to send a set of commands, I reserve a piece of this whole buffer, configure it with my commands and send it to the iseled driver. When the driver sends back the transmission complete signal, I free the buffer so that I can use it later. I use it only with&amp;nbsp;SET_DIM_BLOCK &amp;amp; SET_RGB_BLOCK commands. All works fine most of the time but it seems that sometimes the ISELED driver writes back in these buffers, also after it calls the application callback. This compromises my buffers and makes the entire handling stuck at some point. Does the ISELED driver write back anything in the buffers that I pass as argument to the&amp;nbsp;digLED_Send_Cmd_Parallel API?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SorinT_1-1626267138097.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/149818iDB057693B910731F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SorinT_1-1626267138097.png" alt="SorinT_1-1626267138097.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;All this data from above is written from inside the iseled library.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 12:55:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Issues-while-running-ISELED-parallel-commands/m-p/1307691#M2225</guid>
      <dc:creator>SorinT</dc:creator>
      <dc:date>2021-07-14T12:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Issues while running ISELED parallel commands</title>
      <link>https://community.nxp.com/t5/S32-SDK/Issues-while-running-ISELED-parallel-commands/m-p/1310362#M2233</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The data buffer is also used for ISELED encoding and frames composition. This is done to minimize memory consumption. It is recommended to repopulate the buffer before each parallel command. Please let me know if you encounter any other problems.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Dragos Rachitan&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 09:54:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Issues-while-running-ISELED-parallel-commands/m-p/1310362#M2233</guid>
      <dc:creator>dragosrachitan</dc:creator>
      <dc:date>2021-07-20T09:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Issues while running ISELED parallel commands</title>
      <link>https://community.nxp.com/t5/S32-SDK/Issues-while-running-ISELED-parallel-commands/m-p/1320200#M2244</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is there any example/documentation on how to use the parallel mode for &lt;EM&gt;SET_DIM_BLOCK&lt;/EM&gt; commands and &lt;EM&gt;SET_RGB_BLOCK&lt;/EM&gt; commands? I am still having some issues with it that after I get the &lt;EM&gt;TRANSMISSION_COMPLETE&lt;/EM&gt; signal for a &lt;EM&gt;digLED_Send_Cmd_Parallel()&lt;/EM&gt;, the following &lt;EM&gt;digLED_Set_RGB()&lt;/EM&gt; requests fail to execute for some reason.&lt;/P&gt;&lt;P&gt;Here is a screenshot with the parallel command that I'm sending:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SorinT_0-1628496754742.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152262i72D7F0B8431CD4B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SorinT_0-1628496754742.png" alt="SorinT_0-1628496754742.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For all 18 LEDs (starting with address 2) I want to set:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Dim 3 for Red channel, Dim 0 for Blue &amp;amp; Green channels&lt;/LI&gt;&lt;LI&gt;RGB(0xCC, 0x00, 0x00), every other 3 LEDs.&amp;nbsp;RGB(0x00, 0x00, 0x00) in between.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Is there anything wrong that I'm doing? The command seems to execute ok, but after the&amp;nbsp;&lt;EM&gt;TRANSMISSION_COMPLETE&lt;/EM&gt; signal, a&amp;nbsp;&lt;EM&gt;digLED_Set_RGB(0,0,0,0,0)&lt;/EM&gt; command to turn everything OFF doesn't do anything (event though it responds with DIGLED_OK).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 08:26:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Issues-while-running-ISELED-parallel-commands/m-p/1320200#M2244</guid>
      <dc:creator>SorinT</dc:creator>
      <dc:date>2021-08-09T08:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Issues while running ISELED parallel commands</title>
      <link>https://community.nxp.com/t5/S32-SDK/Issues-while-running-ISELED-parallel-commands/m-p/1321846#M2245</link>
      <description>&lt;P&gt;Hello, I have some additional questions:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;for parallel &amp;amp; block commands, when is the &lt;EM&gt;TRANSMISSION_COMPLETE&lt;/EM&gt; sent to the application (via callback)? Is it after the first command from the parallel/block buffer is successfully sent to the ISELEDs or after the last command is sent?&lt;/LI&gt;&lt;LI&gt;Is is safe to overwrite the buffers for parallel &amp;amp; block commands after the&amp;nbsp;&lt;EM&gt;TRANSMISSION_COMPLETE&lt;/EM&gt; signal is received?&lt;/LI&gt;&lt;LI&gt;What happens if some of the commands from the buffer are successfully sent and some aren't (timeouts, bus errors)?&lt;/LI&gt;&lt;LI&gt;What happens if some of the commands are invalid (led address, format, etc)?&lt;/LI&gt;&lt;LI&gt;Is there any restriction in using the parallel &amp;amp; block commands together with the regular single commands?&lt;/LI&gt;&lt;LI&gt;In case of an error, is there any possibility that the application callback is called multiple times (e.g. once for reporting a timeout and again for reporting the &lt;EM&gt;TRANSMISSION_COMPLETE / RECEPTION_COMPLETE&lt;/EM&gt;)?&lt;/LI&gt;&lt;LI&gt;Is is guaranteed that for a request the callback is only called once for downstream cmds (Tx complete) or twice for upstream cmds (Tx complete, Rx complete)?&lt;/LI&gt;&lt;LI&gt;After the application callback is called by iseled driver, is it needed to wait for an additional delay before sending the next command or it can be sent right away?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sorin&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 10:27:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Issues-while-running-ISELED-parallel-commands/m-p/1321846#M2245</guid>
      <dc:creator>SorinT</dc:creator>
      <dc:date>2021-08-11T10:27:42Z</dc:date>
    </item>
  </channel>
</rss>

