Feb 15, 2016
02:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 15, 2016
02:28 AM
Hi all,
I would like to dedicate this thread specially for the development of EtherCAT using the XMC4800. Please do feel free to post your questions here and we shall do our best to answer these question.
Best Regards
Travis
- Tags:
- IFX
53 Replies
May 11, 2018
02:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 11, 2018
02:17 AM
@Volatile
Each board alone works without problem?
Each board alone works without problem?
Jun 15, 2018
12:09 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 15, 2018
12:09 PM
Hi, I have a question regarding the processing time of the ethercat stack. More specifically, where can I find test results involving the execution time (within a single cycle) of the beckhoff Ethercat stack on xmc4800 and xmc4300 for different levels of optimization?
Oct 08, 2018
12:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 08, 2018
12:21 AM
Dear engineers,
I recently study cia 402 on the xmc4800 which is the motor driver, but I can only find the example of cia 402 of ET1100.
*** So I want to ask:
*** 1. Are the examples of cia402 based on ET1100 changed to xmc4800?
*** 2. I read ETG's CIA402 book, but I still don't understand it. If there are examples, I would like to enlighten me.
Thank you!
Any reply will be appreciated!
I recently study cia 402 on the xmc4800 which is the motor driver, but I can only find the example of cia 402 of ET1100.
*** So I want to ask:
*** 1. Are the examples of cia402 based on ET1100 changed to xmc4800?
*** 2. I read ETG's CIA402 book, but I still don't understand it. If there are examples, I would like to enlighten me.
Thank you!
Any reply will be appreciated!
Nov 02, 2018
06:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 02, 2018
06:50 AM
i just bought a XMC4800 Relax EtherCAT kit., but i cannot find the .zip files "XMC4800 EtherCAT APP SSC Slave Example" from this link "https://www.infineon.com/cms/en/product/evaluation-boards/kit_xmc48_relax_ecat_v1/#ispnTab4", there is only a pdf file?? So where could i find the example code??
Not applicable
Feb 20, 2019
12:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 20, 2019
12:35 AM
Hi, short question regarding the Automation Board v2. Been working on it for a few days without a problem but when I connected the ISOFACE output this morning to the power source the error led is constantly turned on. I've erased the chip, flashed it with different codes, changed the power adapter and the wires but nothing. No such error on the input side. Is there a chance this is not a hardware defect? Do you have experienced this problem before? Any advice?
Apr 10, 2019
04:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 10, 2019
04:34 AM
Is EtherCAT relaxKIT supports SWV output from the onboard debugger cause I am not able to get it working. I have custom a pcb with the same microcontroller and there is running perfectly with a J-link from segger. So Its suppose to be Identical setup but I cannot get it running in the Relax kit.
May 14, 2019
11:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 14, 2019
11:16 PM
Hi all! I'm new on this forum, so i beg your pardon if i'm doing something against its rules!
Anyway, I have this problem: I'm using the XMC4800 relax kit to implement an EtherCAT slave (using the code of the example i've found at this page: https://www.infineon.com/cms/en/prod...downloads.html) and I want my slave to send a master the result of the QSPI test (the one i've downloaded from the page i've previously linked).
I notice that, if i don't insert that test into an EtherCAT system it works fine, but when i try to insert it into the main of the EtherCAT code, it always fail. I've checked the Chip Select pin of the flash memory: with the EtherCAT, the memory seems to be selected for fewer time (i.e. the time during which the chip select is driven low is almost the half of the case without the EtherCAT).
Which could be the problem and how could I solve it?
Thanks in advance!
Anyway, I have this problem: I'm using the XMC4800 relax kit to implement an EtherCAT slave (using the code of the example i've found at this page: https://www.infineon.com/cms/en/prod...downloads.html) and I want my slave to send a master the result of the QSPI test (the one i've downloaded from the page i've previously linked).
I notice that, if i don't insert that test into an EtherCAT system it works fine, but when i try to insert it into the main of the EtherCAT code, it always fail. I've checked the Chip Select pin of the flash memory: with the EtherCAT, the memory seems to be selected for fewer time (i.e. the time during which the chip select is driven low is almost the half of the case without the EtherCAT).
Which could be the problem and how could I solve it?
Thanks in advance!
Sep 08, 2019
02:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 08, 2019
02:41 AM
Hi,all:
Is there any example on how ethercat nodes can be linked like daisy chain and pass message in relay to the master? And how can I monitor the chain is working fine with TwinCat?
Regards & thanks .
Is there any example on how ethercat nodes can be linked like daisy chain and pass message in relay to the master? And how can I monitor the chain is working fine with TwinCat?
Regards & thanks .
Apr 29, 2020
04:52 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 29, 2020
04:52 PM
Hi, I have a simple question regarding the EtherCAT apps provided by Infineon. So far, everything has been working fine on my application. I am currently using both ports and I am wondering it is possible to configure the app such that only one port is used? I intend to use the pins for the other port for another purpose. Thanks!
Jul 12, 2020
06:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 12, 2020
06:11 PM
Hi,
I have installed igh ethercat master for linux 1.5.2 on my pc with real-time opterating sysytem. now two ethercat slaves were link my pc.
The first slave is the xmc4800 + PHY (BCM5241XA1KMLG). The second slave is the xmc4800 + PHY(DP83822).
When I read the first slave 0x0300 register by igh command "sudo /opt/etherlab/bin/ethercat reg_read 0x0300 4 -p 0",
the 0x302 register will read wrong value. when I use the TwinCAT 3 read the same hardware,the 0x0302 register will read 0x00 value.
note:
the xmc4800 + PHY(DP83822) slave work well when the ethercat master Twincat.
the xmc4800 + PHY(DP83822) is not on ethercat slave bus ,IGH work well.
wechart:yw8b129
syy
Any reply will be appreciated !
I have installed igh ethercat master for linux 1.5.2 on my pc with real-time opterating sysytem. now two ethercat slaves were link my pc.
The first slave is the xmc4800 + PHY (BCM5241XA1KMLG). The second slave is the xmc4800 + PHY(DP83822).
When I read the first slave 0x0300 register by igh command "sudo /opt/etherlab/bin/ethercat reg_read 0x0300 4 -p 0",
the 0x302 register will read wrong value. when I use the TwinCAT 3 read the same hardware,the 0x0302 register will read 0x00 value.
note:
the xmc4800 + PHY(DP83822) slave work well when the ethercat master Twincat.
the xmc4800 + PHY(DP83822) is not on ethercat slave bus ,IGH work well.
wechart:yw8b129
syy
Any reply will be appreciated !
Jul 20, 2020
05:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 20, 2020
05:25 PM
Hi
I have post a new thread but cannot see it. I guess i can post the question at here?
I want to know how to make a non-blocking I2C communication. I have make some code to fix WHILE Loop problem, But I think thats not good.
The following is my original post:
Hi
I have try to use XMC4300 work with PCF8574T, Use EtherCAT and I2C communication.
In my project, I have created EtherCAT And I2C App Instance. And use this code to update I/O state:
But the red error led on the circuit board is often lit.After checking the code, I found that xmc4300 fall into an infinite loop at the following locations: (Dave\Generated\I2C_MASTER\I2C_Master.C)
I made a patch at these three loop points, the patch content is as follows:
Currently, it is working normally, but occasionally I2C read data incorrect at emc test.
I am wondering if there is a better way to solve this problem?
Thanks.
I have post a new thread but cannot see it. I guess i can post the question at here?
I want to know how to make a non-blocking I2C communication. I have make some code to fix WHILE Loop problem, But I think thats not good.
The following is my original post:
Hi
I have try to use XMC4300 work with PCF8574T, Use EtherCAT and I2C communication.
In my project, I have created EtherCAT And I2C App Instance. And use this code to update I/O state:
I2C_MASTER_Receive(&I2C_MASTER_0,true,0x41,&input_1,2,true,true);
i2c_wait();
But the red error led on the circuit board is often lit.After checking the code, I found that xmc4300 fall into an infinite loop at the following locations: (Dave\Generated\I2C_MASTER\I2C_Master.C)
Line 323: while (!XMC_USIC_CH_TXFIFO_IsEmpty(handle->channel)){}
Line 445: while (XMC_USIC_CH_GetTransmitBufferStatus(handle->channel) == XMC_USIC_CH_TBUF_STATUS_BUSY){}
Line 1052: while (XMC_USIC_CH_GetTransmitBufferStatus(handle->channel) == XMC_USIC_CH_TBUF_STATUS_BUSY){}
I made a patch at these three loop points, the patch content is as follows:
uint32_t count = 0;
while (!XMC_USIC_CH_TXFIFO_IsEmpty(handle->channel)){
count++;
if (count > 1000){
return;
}
}
Currently, it is working normally, but occasionally I2C read data incorrect at emc test.
I am wondering if there is a better way to solve this problem?
Thanks.
Nov 02, 2020
12:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 02, 2020
12:44 AM
Hi to all,
Actually we are trying to implement EtherCAT Slave Stack implementation from Infineon examples ,everything is fine
but when we are dealing with SSC Tool there we are getting problem.
In SSC tool we are taking new file and then importing a configuration file(.xml) ,it is directly itself selecting Infineon
hardware ,if we try to select EtherCAT Infineon slave sample it is asking again configuration file (.xml).
we have tried number of ways it was not allowing create slave stack ESI file ,in twinCAT it is detecting but that is
BOX1(P100000000000) it contains no inputs and outputs ,because SSC tool it is generating ESI file for Infineon
XMC4800 hardware
a) -----Is there anyone face this type of problems please tell us how to resolve it-----
b)------ What is reason behind that SSC tool misbehaving like that?--------
Regards
Akhil
Actually we are trying to implement EtherCAT Slave Stack implementation from Infineon examples ,everything is fine
but when we are dealing with SSC Tool there we are getting problem.
In SSC tool we are taking new file and then importing a configuration file(.xml) ,it is directly itself selecting Infineon
hardware ,if we try to select EtherCAT Infineon slave sample it is asking again configuration file (.xml).
we have tried number of ways it was not allowing create slave stack ESI file ,in twinCAT it is detecting but that is
BOX1(P100000000000) it contains no inputs and outputs ,because SSC tool it is generating ESI file for Infineon
XMC4800 hardware
a) -----Is there anyone face this type of problems please tell us how to resolve it-----
b)------ What is reason behind that SSC tool misbehaving like that?--------
Regards
Akhil
Nov 04, 2020
05:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 04, 2020
05:08 AM
Hi everyone,
Need to know how much current we can source from GPIO pin. we need to drive the LED which are in ETHERNET connector.
Regards,
Rohan Kharvi
Need to know how much current we can source from GPIO pin. we need to drive the LED which are in ETHERNET connector.
Regards,
Rohan Kharvi
Dec 14, 2020
04:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 14, 2020
04:30 AM
Hello,
Please refer the VOH and VOL specifications given in datasheet for different GPIO drive strengths to get an idea about how much current a GPIO can source and sink.
Example: Consider a GPIO with drive strength set to "Strong – sharp drive strength". VOH and VOL spec for this drive strength are given in Table 23 on page 51 of the datasheet (https://www.infineon.com/dgdl/Infineon-XMC4700-XMC4800-DS-v01_01-EN.pdf?fileId=5546d462518ffd8501519...).
As you can see in this table, GPIO with drive strength setting "Strong – sharp drive strength" will be able to source 2mA current with output voltage (VOH min) 2.4V. Similarly, it can sink current up to 2mA and keep output voltage (VOL max) 0.4V.
I hope the above information answers your query. Please get back to us if you need any further help.
Thanks and Regards,
Sudheesh
Please refer the VOH and VOL specifications given in datasheet for different GPIO drive strengths to get an idea about how much current a GPIO can source and sink.
Example: Consider a GPIO with drive strength set to "Strong – sharp drive strength". VOH and VOL spec for this drive strength are given in Table 23 on page 51 of the datasheet (https://www.infineon.com/dgdl/Infineon-XMC4700-XMC4800-DS-v01_01-EN.pdf?fileId=5546d462518ffd8501519...).
As you can see in this table, GPIO with drive strength setting "Strong – sharp drive strength" will be able to source 2mA current with output voltage (VOH min) 2.4V. Similarly, it can sink current up to 2mA and keep output voltage (VOL max) 0.4V.
I hope the above information answers your query. Please get back to us if you need any further help.
Thanks and Regards,
Sudheesh