<?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>i.MX RT Crossover MCUsのトピックRe: Questions Regarding EtherCAT Basic Functionality on i.MX RT1180 EVK with TwinCAT 3.1</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Questions-Regarding-EtherCAT-Basic-Functionality-on-i-MX-RT1180/m-p/2273409#M35963</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this the AN that this question involves?&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/application-note/AN14155.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN14155.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Reaching the OP (Operational) state confirms that EtherCAT communication is established, but it does not automatically start the PLC logic required to drive the LEDs. The issue is likely that the EtherCAT Slave Controller (ESC) variables are not linked to the PLC project variables, or the PLC is not in the "Run" state.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Q1.&amp;nbsp;Enabling LED Control in TwinCAT&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;In your TwinCAT project, you must explicitly link the ESC's&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class=""&gt;RxPDO&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;variable (often named&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class=""&gt;LED&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class=""&gt;Output&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;) to the corresponding PLC input variable. Right-click the variable in the Solution Explorer and select&lt;/SPAN&gt;&amp;nbsp;Change Link (section. 6 Using TWINCAT3 in Run mode). Then, after linking, click&amp;nbsp;Activate Configuration&amp;nbsp;in the toolbar to apply the mapping. Click the&amp;nbsp;Run PLC&amp;nbsp;(green play button) in the TwinCAT toolbar. The EtherCAT state machine can be in OP while the PLC is stopped; the LEDs will only toggle if the PLC application is actively running&lt;/P&gt;
&lt;P&gt;Sanity Check:&amp;nbsp;To verify hardware without the PLC, switch TwinCAT to&amp;nbsp;Config Mode&amp;nbsp;, ensure the slave is in&amp;nbsp;OP&amp;nbsp;, and use the&amp;nbsp;Online Write&amp;nbsp;function to write&amp;nbsp;&lt;CODE class=""&gt;1&lt;/CODE&gt;&amp;nbsp;or&amp;nbsp;&lt;CODE class=""&gt;0&lt;/CODE&gt;&amp;nbsp;directly to the&amp;nbsp;&lt;CODE class=""&gt;LED&lt;/CODE&gt;&amp;nbsp;variable in the&amp;nbsp;&lt;CODE class=""&gt;RxPDO&lt;/CODE&gt;&amp;nbsp;list. If the LED toggles, the hardware is fine, and the issue is the PLC linkage/state&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sam_Gao_0-1767603461066.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/371709iF4CF5E25B70A1D95/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sam_Gao_0-1767603461066.png" alt="Sam_Gao_0-1767603461066.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H3 class=" font-bold text-base"&gt;Q2. LED GPIO Mapping&lt;/H3&gt;
&lt;P class=""&gt;For the i.MX RT1180 EVK, the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class=""&gt;digital_io&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;demo typically maps the "User LED" to the&amp;nbsp;Green LED&amp;nbsp;.&lt;/P&gt;
&lt;UL class=""&gt;
&lt;LI class=""&gt;GPIO Pin:&amp;nbsp;GPIO_AD_27&lt;/LI&gt;
&lt;LI class=""&gt;Pad Name:&amp;nbsp;&lt;CODE class=""&gt;GPIO_AD_27&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI class=""&gt;Board Component:&amp;nbsp;User LED (Green)&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3 class=" font-bold text-base"&gt;Q3. SYNC0 and SYNC1 Signal Routing&lt;/H3&gt;
&lt;P&gt;The&amp;nbsp;SYNC0&amp;nbsp;and&amp;nbsp;SYNC1&amp;nbsp;signals from the EtherCAT Slave Controller &lt;STRONG&gt;are&amp;nbsp;not&lt;/STRONG&gt; routed to external physical pins&amp;nbsp;by default in the standard IOMUX configuration.&amp;nbsp;These signals are designed to trigger &lt;STRONG&gt;internal&lt;/STRONG&gt; interrupts (IRQ) within the i.MX RT1180 to synchronize the local application (e.g., motor control loop) with the EtherCAT Distributed Clock (DC).&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You cannot measure these signals directly with an oscilloscope on the EVK headers. To evaluate timing accuracy, you must toggle a spare GPIO pin (like&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class=""&gt;GPIO_AD_26&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;) inside the Sync0/Sync1 interrupt service routine (ISR) and measure that GPIO pin's jitter relative to the master's cycle.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 05 Jan 2026 09:04:27 GMT</pubDate>
    <dc:creator>Sam_Gao</dc:creator>
    <dc:date>2026-01-05T09:04:27Z</dc:date>
    <item>
      <title>Questions Regarding EtherCAT Basic Functionality on i.MX RT1180 EVK with TwinCAT 3.1</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Questions-Regarding-EtherCAT-Basic-Functionality-on-i-MX-RT1180/m-p/2270928#M35958</link>
      <description>&lt;P&gt;Dear Support Team,&lt;/P&gt;&lt;P&gt;I am currently debugging basic EtherCAT functionality on the i.MX RT1180 EVK in combination with TwinCAT 3.1, following the procedures outlined in the application note &lt;EM&gt;"Using TWINCAT3 in Run mode"&lt;/EM&gt; and the README documentation provided with the SDK demo.&lt;/P&gt;&lt;P&gt;The EtherCAT state machine successfully reaches the OP state, but I have encountered the following issues:&lt;/P&gt;&lt;P&gt;Q1.&lt;BR /&gt;I can compile and load the &lt;FONT color="#000000"&gt;evkmimxrt1180_ecat_digital_io_cm7 d&lt;/FONT&gt;emo, and the state machine reaches OP as expected. However, the LED control does not work—the LEDs do not blink, and setting output states directly from TwinCAT has no effect. Is there any additional software configuration or hardware setup required to enable this digital I/O functionality?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q2.&lt;/STRONG&gt;&lt;BR /&gt;In the demo, which specific GPIO pin on the i.MX RT1180 chip is connected to the LED being controlled by the digital_io demo? I would like to verify the hardware mapping and ensure proper signal routing.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q3.&lt;/STRONG&gt;&lt;BR /&gt;I need to evaluate the timing accuracy of the &lt;STRONG&gt;SYNC0 and SYNC1&lt;/STRONG&gt; signals. However, after reviewing the &lt;EM&gt;i.MX RT1180 Reference Manual&lt;/EM&gt;, &lt;EM&gt;User Guide&lt;/EM&gt;, and &lt;EM&gt;Data Sheet&lt;/EM&gt;, I could not find any information about external pins assigned to SYNC0/SYNC1. Are these signals not routed to physical pins on the RT1180? If they are available, could you please specify which pads/pins they correspond to and how to enable them?&lt;/P&gt;&lt;P&gt;Thank you very much for your assistance!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Sun, 04 Jan 2026 07:39:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Questions-Regarding-EtherCAT-Basic-Functionality-on-i-MX-RT1180/m-p/2270928#M35958</guid>
      <dc:creator>shrek-tan</dc:creator>
      <dc:date>2026-01-04T07:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Questions Regarding EtherCAT Basic Functionality on i.MX RT1180 EVK with TwinCAT 3.1</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Questions-Regarding-EtherCAT-Basic-Functionality-on-i-MX-RT1180/m-p/2273409#M35963</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this the AN that this question involves?&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/application-note/AN14155.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN14155.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Reaching the OP (Operational) state confirms that EtherCAT communication is established, but it does not automatically start the PLC logic required to drive the LEDs. The issue is likely that the EtherCAT Slave Controller (ESC) variables are not linked to the PLC project variables, or the PLC is not in the "Run" state.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Q1.&amp;nbsp;Enabling LED Control in TwinCAT&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;In your TwinCAT project, you must explicitly link the ESC's&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class=""&gt;RxPDO&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;variable (often named&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class=""&gt;LED&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class=""&gt;Output&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;) to the corresponding PLC input variable. Right-click the variable in the Solution Explorer and select&lt;/SPAN&gt;&amp;nbsp;Change Link (section. 6 Using TWINCAT3 in Run mode). Then, after linking, click&amp;nbsp;Activate Configuration&amp;nbsp;in the toolbar to apply the mapping. Click the&amp;nbsp;Run PLC&amp;nbsp;(green play button) in the TwinCAT toolbar. The EtherCAT state machine can be in OP while the PLC is stopped; the LEDs will only toggle if the PLC application is actively running&lt;/P&gt;
&lt;P&gt;Sanity Check:&amp;nbsp;To verify hardware without the PLC, switch TwinCAT to&amp;nbsp;Config Mode&amp;nbsp;, ensure the slave is in&amp;nbsp;OP&amp;nbsp;, and use the&amp;nbsp;Online Write&amp;nbsp;function to write&amp;nbsp;&lt;CODE class=""&gt;1&lt;/CODE&gt;&amp;nbsp;or&amp;nbsp;&lt;CODE class=""&gt;0&lt;/CODE&gt;&amp;nbsp;directly to the&amp;nbsp;&lt;CODE class=""&gt;LED&lt;/CODE&gt;&amp;nbsp;variable in the&amp;nbsp;&lt;CODE class=""&gt;RxPDO&lt;/CODE&gt;&amp;nbsp;list. If the LED toggles, the hardware is fine, and the issue is the PLC linkage/state&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sam_Gao_0-1767603461066.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/371709iF4CF5E25B70A1D95/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sam_Gao_0-1767603461066.png" alt="Sam_Gao_0-1767603461066.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H3 class=" font-bold text-base"&gt;Q2. LED GPIO Mapping&lt;/H3&gt;
&lt;P class=""&gt;For the i.MX RT1180 EVK, the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class=""&gt;digital_io&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;demo typically maps the "User LED" to the&amp;nbsp;Green LED&amp;nbsp;.&lt;/P&gt;
&lt;UL class=""&gt;
&lt;LI class=""&gt;GPIO Pin:&amp;nbsp;GPIO_AD_27&lt;/LI&gt;
&lt;LI class=""&gt;Pad Name:&amp;nbsp;&lt;CODE class=""&gt;GPIO_AD_27&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI class=""&gt;Board Component:&amp;nbsp;User LED (Green)&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3 class=" font-bold text-base"&gt;Q3. SYNC0 and SYNC1 Signal Routing&lt;/H3&gt;
&lt;P&gt;The&amp;nbsp;SYNC0&amp;nbsp;and&amp;nbsp;SYNC1&amp;nbsp;signals from the EtherCAT Slave Controller &lt;STRONG&gt;are&amp;nbsp;not&lt;/STRONG&gt; routed to external physical pins&amp;nbsp;by default in the standard IOMUX configuration.&amp;nbsp;These signals are designed to trigger &lt;STRONG&gt;internal&lt;/STRONG&gt; interrupts (IRQ) within the i.MX RT1180 to synchronize the local application (e.g., motor control loop) with the EtherCAT Distributed Clock (DC).&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You cannot measure these signals directly with an oscilloscope on the EVK headers. To evaluate timing accuracy, you must toggle a spare GPIO pin (like&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class=""&gt;GPIO_AD_26&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;) inside the Sync0/Sync1 interrupt service routine (ISR) and measure that GPIO pin's jitter relative to the master's cycle.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jan 2026 09:04:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Questions-Regarding-EtherCAT-Basic-Functionality-on-i-MX-RT1180/m-p/2273409#M35963</guid>
      <dc:creator>Sam_Gao</dc:creator>
      <dc:date>2026-01-05T09:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Questions Regarding EtherCAT Basic Functionality on i.MX RT1180 EVK with TwinCAT 3.1</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Questions-Regarding-EtherCAT-Basic-Functionality-on-i-MX-RT1180/m-p/2289470#M35983</link>
      <description>&lt;P&gt;Thanks for your reply。&lt;/P&gt;&lt;P&gt;Yes，&lt;SPAN class=""&gt;I have carefully followed the instructions provided in the documentation you shared &lt;A href="https://www.nxp.com/docs/en/application-note/AN14155.pdf" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.nxp.com/docs/en/application-note/AN14155.pdf&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;, and I have already configured the LED link. However, I am unable to control the LED state—even when attempting to directly write values via TwinCAT by right-clicking and using "Online Write" with either “0” or “1”.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Do I need to manually read the corresponding PDO-mapped address within the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;APPL_OutputMapping&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;function in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;digital_io.c&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;file (generated by SSC for the slave device), and then explicitly set the GPIO level (e.g., GPIO_AD_27) in software based on that data to control the LED?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Additionally, regarding the MX1180 EtherCAT chip: the Reference Manual does not specify the memory map for User RAM and Process Data RAM. Are these memory regions identical to those defined in Beckhoff’s documentation—specifically:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;User RAM&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class=""&gt;: 0xF80 – 0xFFF&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Process Data RAM&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class=""&gt;: 0x1000 – 0xFFFF?&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 07 Jan 2026 12:47:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Questions-Regarding-EtherCAT-Basic-Functionality-on-i-MX-RT1180/m-p/2289470#M35983</guid>
      <dc:creator>shrek-tan</dc:creator>
      <dc:date>2026-01-07T12:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Questions Regarding EtherCAT Basic Functionality on i.MX RT1180 EVK with TwinCAT 3.1</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Questions-Regarding-EtherCAT-Basic-Functionality-on-i-MX-RT1180/m-p/2290574#M35991</link>
      <description>My issue has been resolved—thank you again!</description>
      <pubDate>Fri, 09 Jan 2026 03:52:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Questions-Regarding-EtherCAT-Basic-Functionality-on-i-MX-RT1180/m-p/2290574#M35991</guid>
      <dc:creator>shrek-tan</dc:creator>
      <dc:date>2026-01-09T03:52:29Z</dc:date>
    </item>
  </channel>
</rss>

