<?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: Internal Events in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Internal-Events/m-p/942491#M4079</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="342483" data-username="kurt.staubli@zub.ch" href="https://community.nxp.com/people/kurt.staubli@zub.ch"&gt;Kurt Staubli&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; You can try the newest SDK code, and I suggest you test it based on xbara project.&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you still have problems, you can send me your whole project, I will help you to test it when I have time, recently, really a lot of case in the queue, thanks a lot for your understanding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Jun 2019 03:30:06 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2019-06-14T03:30:06Z</dc:date>
    <item>
      <title>Internal Events</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Internal-Events/m-p/942485#M4073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.5pt;"&gt;I am new in MIMXRT1062 and our goal is to use it as a motor controller. RT1062 has XBAR to connect various peripherals with each other.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.5pt;"&gt;If I would like to measure the exact timing of events. I tried to connect an event via XBAR to a GPIO, connect an oscilloscope to that GPIO and expected to be able to see a change on the GPIO. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.5pt;"&gt;I took an example: evkmimxrt1060_adc_etc_software_trigger_conv. A Trigger is set up there. I used the Pins-Tool to route the trigger to a GPIO. Problem here: I cannot use kXBARA1_OutputAdcEtcXbar0Trig0 as a XBAR input and route it to a GPIO output (hence the ‘Output’ in kXBARA1_OutputAdcEtcXbar0Trig0). &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.5pt; color: black;"&gt;But I can setup something like this with Pins-Tool:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;XBARA_SetSignalsConnection(XBARA1, kXBARA1_InputAdcEtcXbar0Coco0, kXBARA1_OutputIomuxXbarInout17);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.5pt;"&gt;But the GPIO remains low whenever a conversion is done. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.5pt;"&gt;So, the question remains: How can I use XBAR to make internal events visible on an oscilloscope?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.5pt;"&gt;My Hardware / Software configuration is this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.5pt;"&gt;MCUXpresso IDE v10.2.1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.5pt;"&gt;SDK 2.4.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.5pt;"&gt;Pins for i.MX Version 5.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.5pt;"&gt;EVK-MIMXRT1060 board&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.5pt;"&gt;I have attached my modified version of adc_etc_software_trigger_conv.c&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2019 08:09:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Internal-Events/m-p/942485#M4073</guid>
      <dc:creator>kurt_staubli</dc:creator>
      <dc:date>2019-06-04T08:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Events</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Internal-Events/m-p/942486#M4074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="342483" data-username="kurt.staubli@zub.ch" href="https://community.nxp.com/people/kurt.staubli@zub.ch"&gt;Kurt Staubli&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have a question, if you don't use the &lt;SPAN style="font-size: 8.5pt;"&gt;XBAR &lt;/SPAN&gt;trigger, can you toggle the GPIO pin which you needed?&lt;/P&gt;&lt;P&gt;&amp;nbsp;Just check the GPIO pin configuration at first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any updated information, please kindly let me know.&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2019 09:12:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Internal-Events/m-p/942486#M4074</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2019-06-05T09:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Events</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Internal-Events/m-p/942487#M4075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry&lt;/P&gt;&lt;P&gt;In the example ( see attachment adc_etc_software_trigger_conv.c ) I use two pins:&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;GPIO_AD_B0_03 is connected via XBAR to kXBARA1_InputAdcEtcXbar0Coco0 and, as mentioned, does not change, remains low. This is about my original question.&lt;/LI&gt;&lt;LI&gt;The second pin, GPIO_AD_B0_02, toggles whenever the interrupt handler (EXAMPLE_ADC_ETC_DONE0_Handler) is called. I use it to trigger the oscilloscope only (and to prove that I am at least able to toggle a pin. And I can hereby assure that I can).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;So, yes, the GPIO toggles, but I would like to control a pin directly through XBAR. Why? I would like to see when an internal event occurs without any delay. This is just for debugging.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kurt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2019 10:48:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Internal-Events/m-p/942487#M4075</guid>
      <dc:creator>kurt_staubli</dc:creator>
      <dc:date>2019-06-05T10:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Events</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Internal-Events/m-p/942488#M4076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kurt Staubli,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Thanks for your updated information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I will check more detail on my side, please give me more time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Any updated information from side, I will let you know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Kerry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2019 07:37:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Internal-Events/m-p/942488#M4076</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2019-06-06T07:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Events</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Internal-Events/m-p/942489#M4077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="342483" data-username="kurt.staubli@zub.ch" href="https://community.nxp.com/people/kurt.staubli@zub.ch"&gt;Kurt Staubli&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Do you refer the xbara project at first?&lt;/P&gt;&lt;P&gt;&amp;nbsp; Which you can find the project from SDK folder:&lt;/P&gt;&lt;P&gt;SDK_2.5.1_EVK-MIMXRT1060\boards\evkmimxrt1060\driver_examples\xbara&lt;/P&gt;&lt;P&gt;In you code, you even didn't init the xbara module:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Init xbara module. */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; XBARA_Init(DEMO_XBARA_BASEADDR);&lt;/P&gt;&lt;P&gt;&amp;nbsp;So, please refer to the official xbara project, and modify your code again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2019 07:29:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Internal-Events/m-p/942489#M4077</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2019-06-13T07:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Events</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Internal-Events/m-p/942490#M4078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that I do not call&lt;/P&gt;&lt;P&gt;XBARA_Init(DEMO_XBARA_BASEADDR);&lt;/P&gt;&lt;P&gt;But I call&lt;/P&gt;&lt;P&gt;CLOCK_EnableClock(kCLOCK_Xbar1);&lt;/P&gt;&lt;P&gt;on line 98, which is similar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next thing I will do is upgrade the SDK and IDE. I am still on 2.4.0. I am pessimistic that this would help to solve the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kurt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2019 12:54:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Internal-Events/m-p/942490#M4078</guid>
      <dc:creator>kurt_staubli</dc:creator>
      <dc:date>2019-06-13T12:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Events</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Internal-Events/m-p/942491#M4079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="342483" data-username="kurt.staubli@zub.ch" href="https://community.nxp.com/people/kurt.staubli@zub.ch"&gt;Kurt Staubli&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; You can try the newest SDK code, and I suggest you test it based on xbara project.&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you still have problems, you can send me your whole project, I will help you to test it when I have time, recently, really a lot of case in the queue, thanks a lot for your understanding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2019 03:30:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Internal-Events/m-p/942491#M4079</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2019-06-14T03:30:06Z</dc:date>
    </item>
  </channel>
</rss>

