Skip to content

Commit 0df39f2

Browse files
author
gitlab-runner
committed
Upload mtb-example-xmc48-ethcat-ssc [3661]
1 parent 7ab28f2 commit 0df39f2

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# XMC4800 EtherCAT SSC
22

3-
This code example demonstrates the implementation of an EtherCAT slave node using the Beckhoff Slave Stack Code (SSC) Tool to generate the slave stack code for XMC4800 Relax EtherCAT Kit.
3+
This code example demonstrates the implementation of an EtherCAT slave node using the Beckhoff Slave Stack Code (SSC) Tool to generate the slave stack code for XMC4800 Relax EtherCAT Kit. For XMC4800 IoT FreeRTOS Connectivity WIFI kit, please refer to this [README](https://github.com/Infineon/mtb-example-xmc43-ethcat-ssc/blob/master/README.md) on GitHub.
44

5-
[View this README on GitHub.](https://github.com/Infineon/mtb-example-xmc48-ethcat-ssc)
5+
6+
[View this README on GitHub.](https://github.com/Infineon/mtb-example-xmc48-ethcat-ssc/blob/master/README.md)
67

78
[Provide feedback on this code example.](https://cypress.co1.qualtrics.com/jfe/form/SV_1NTns53sK2yiljn?Q_EED=eyJVbmlxdWUgRG9jIElkIjoiQ0UyNDE3MzQiLCJTcGVjIE51bWJlciI6IjAwMi00MTczNCIsIkRvYyBUaXRsZSI6IlhNQzQ4MDAgRXRoZXJDQVQgU1NDIiwicmlkIjoic2lsc3VlcHVlcmJlcmtheSIsIkRvYyB2ZXJzaW9uIjoiMS4wLjAiLCJEb2MgTGFuZ3VhZ2UiOiJFbmdsaXNoIiwiRG9jIERpdmlzaW9uIjoiTUNEIiwiRG9jIEJVIjoiSUNXIiwiRG9jIEZhbWlseSI6IlBTT0MifQ==)
89

@@ -29,7 +30,7 @@ This code example demonstrates the implementation of an EtherCAT slave node usin
2930

3031
## Hardware setup
3132

32-
Connect the Micro-USB cable to debug connector (X101) and a LAN cable from your master device to the IN port (X100) of the XMC4800 kit as shown in **Figure 1**. See the kit user guide to ensure that the board is configured correctly.
33+
Connect the Micro-USB cable to debug connector (X101) and a LAN cable from your master device to the IN port (X100) of the XMC4800 kit as shown in **Figure 1**. See the kit user guide to ensure that the board is configured correctly.
3334

3435
**Figure 1. Kit setup**
3536

@@ -154,7 +155,7 @@ For more details, see the [ModusToolbox™ tools package user guide](https:/
154155

155156
<img src="images/design.png" width="500" height="180">
156157

157-
3. Start the SSC Tool and create a new project: **File** > **New**. Select **Custom** and click **Import**. Select the configuration xml file inside the example project (under **imports** > **mtb-xmc-ecat** > **ssc_config** folder) and import it. Select the Infineon device inside the dropdown list (Infineon XMC&trade; EtherCAT hardware) and click **OK**. Your project will be created
158+
3. Start the SSC Tool and create a new project: **File** > **New**. Select **Custom** and click **Import**. Select the configuration xml file inside the example project (under **imports** > **mtb-xmc-ecat** > **ssc_config** folder) and import it. Select the Infineon device inside the dropdown list (Infineon XMC&trade; EtherCAT hardware) and click **OK**. If a popped window appears and asks for "Add patch to project", select "No". Your project will be created
158159

159160
**Figure 4. Project creation**
160161

deps/retarget-io.mtb

Lines changed: 0 additions & 1 deletion
This file was deleted.

main.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,11 @@ void process_app(TOBJ7000* OUT_GENERIC, TOBJ6000* IN_GENERIC)
116116
* <b>Details of function</b><br>
117117
* This routine is handling the SYNC0 Interrupts and need to call the SSC Stack
118118
*/
119+
void ERU1_2_IRQHandler(void)
120+
{
121+
SYNC0IRQHandler(); // Call the Sync0 handler
122+
}
123+
119124
void SYNC0IRQHandler(void)
120125
{
121126
Sync0_Isr();
@@ -128,6 +133,12 @@ void SYNC0IRQHandler(void)
128133
* <b>Details of function</b><br>
129134
* This routine is handling the SYNC1 Interrupts and need to call the SSC Stack
130135
*/
136+
137+
void ERU1_0_IRQHandler(void)
138+
{
139+
SYNC1IRQHandler(); // Call the Sync1 handler
140+
}
141+
131142
void SYNC1IRQHandler(void)
132143
{
133144
Sync1_Isr();

0 commit comments

Comments
 (0)