6658 views|1 replies

47

Posts

0

Resources
The OP
 

【XMC4800 Relax EtherCAT Kit Review】02 Collect and prepare XMC development materials [Copy link]

This post was last edited by longmotto on 2019-1-5 21:14 I received the board before New Year's Day and thought I could have a good experience with it. However, I had an urgent task at work and spent New Year's Day working overtime. I am deeply sorry for posting after such a long time. Infineon Semiconductor is well-known and was independent from Siemens. I have been engaged in industrial project development, and Infineon has been deeply involved in industrial and automotive electronics for many years and has a good reputation. I have used MCUs and processors from TI, NXP, and ST semiconductor manufacturers to develop projects, but I have never had a suitable opportunity to use Infineon's MCU for development. Most of the developers I know rarely use Infineon's MCU. To summarize the reasons, I don't know if the following opinions are appropriate. My humble opinions are for reference only: 1. Specialization: Infineon has more cooperation with large manufacturers such as automotive electronics and big-name manufacturers, such as OEM and ODM, and does not have many cuts into general consumer products; 2. Price: It may be that it can operate very stably in harsh environments such as industrial automobiles with strong interference and high and low temperatures, so the price is relatively high; 3. Purchase channels: For geeks, DIY, and small workshop developers, the purchase volume is not large, and it is difficult to buy small batches of chips and demo boards at an affordable price on Taobao; 4. Development environment: There are not many people in China who use Infineon to develop products, and it is difficult to find solutions quickly when encountering problems. But from the last XMC4700 and this XMC4800 activities, it can be seen that Infineon is trying to narrow the distance with everyone, so that developers know that Infineon's products are very powerful and easy to use. When you come into contact with a new thing, you must first find as much relevant information as possible, according to this idea. Collect information from the following two ways: 1. There is a lot of information on the trial application interface, which needs to be read in detail. 2. Find information on the official website. There are 10 documents in the Evaluation application websiteInfineon-XMC4700_XMC4800_BSDL-PCB-v01_00-EN.zipInfineon-XMC4700-XMC4800-DS-v01_00-EN.pdfMicrosoft Word - Board_Users_Manual_XMC4700_Relax_Kit_Series-V1_R1.0.docxPart_Number_Guide_Web.pdfInfineon-XMC4700-XMC4800-DS-v01_01-EN.pdfXMC4300 and XMC4800 Product Brief.pdfXMC4800_ECAT_GettingStarted_v1.zipXMC Industrial Microcontroller Product Brochure.pdf ⑨ ⑩ Infineon-XMC4700_XMC4800_ReferenceManual-UM-v01_00-EN.rarXMC4800_ECAT_Relax_EEP_25012016.zip Document ⑧ introduces the XMC industrial MCU product line, including the XMC1000 series and the XMC4000 series as shown in Figures 1 and 2. Figure 1: XMC1000 product line Figure 2: XMC4000 product line Industrial automation applications: EtherCAT to 6 parallel CAN gateway, EtherCAT with dual-channel drive motor, EtherCAT I/O module and motor control, switching power supply, lighting and other applications Data ⑤ is the datasheet of XMC47/800 Data ⑨ is the ReferenceManual of XMC47/800, but it is not the latest version. As of 2019-01-05, the new version is XMC4800 ReferenceMannalV1_3 Data ⑥ introduces that only XMC4300 and XMC4800 support EtherCAT function in the entire XMC product series, and the detailed comparison is shown in Figure 3 and Figure 4 Figure 3: XMC4300 functional block diagram Figure 4: XMC4800 functional block diagram For applications with EtherCAT communication but not very complex functions, XMC4300 is a cost-effective choice. Data ① is the XMC47/800 package library with three specifications of 100Pin, 144Pin, and 196Pin, which are not used for the time being. Data ⑦⑩ is a specific DAVE project example program, which will be studied later. The above are the reference materials provided by eeworld. Read them patiently to get an impression first. If you encounter problems in the future, you will know where to find information. Just like when you go to college, you learn a lot. The details are not very clear, but when you encounter a problem, you can quickly remember what knowledge can solve it, complex function or signal processing, or control theory, which is a bit far-fetched:-) 2. Go to the official website to find information: www.infineon.com/xmc-dev As shown in Figure 5: Figure 5: In addition to ARM Cortex-M series XMC, and Infineon's own Tricore series industrial MCU, don't worry about the others, click the red part, enter the XMC4000 series, there are very, very detailed information, as shown in Figure 6 The three sub-categories of documents, board information, tools and software in the red part are the parts we need to pay most attention to. It is not difficult to find that many of the information provided by eeworld comes from here Figure 6: XMC4800 official website In Documents, the datasheet and reference manual of XMC4800 need to be downloaded for later use. All the documents in GettingStarted in Documents are very useful for our future study of EtherCAT, as shown in Figure 7: Figure 7: XMC4800 EtherCAT Getting Started Documents Application Notes has detailed instructions for the use of almost all XMC4000 peripherals, as shown in Figure 8: Save it as a mark and download it as a reference when you need it later Figure 8: Detailed explanation of peripheral applications Don't think this is the end. You must read the Errata Sheet before developing a product, otherwise you will be screwed. I remember that from 2011 to 2012, I used the LM3S9B96 acquired by TI to do a project. It took 9 months to develop. Finally, I found that this chip had a fatal hardware BUG. The internal power supply of the IC was unstable, causing the Flash to be erased by mistake. This industrial controller developed with great effort has good performance, but it is unstable and cannot enter the market. Download the Errata Sheet in Documents and see if there are any pitfalls. If you are interested, you can also download the documents related to uC/OS-III in the Article. It is very interesting to run this RTOS in XMC4800. Figure 9: Errata Sheet and uC/OS-III Boards We will look at the part later, let’s look at Tools and Software first. In Tools & Software, there is a free tool called uC/Prober in Overview, as shown in Figure 10: Figure 10: Free uC/Prober This is a magic tool produced by Micrium, which can dynamically observe variables in MCU, set variable values, etc. It is very similar to STMstudio, but much more powerful than STMstudio. If there is time, I can introduce uC/Prober separately. In Tools and Software, the second item DAVE is opened, as shown in Figure 11: Figure 11: DAVE All the red parts need to be downloaded. DAVE is an XMC development environment based on Eclipse, which is very powerful. Of course, you can also use IAR or MDK to develop XMC series MCUs, but DAVE is still recommended. XMC Lib is the lib file of XMC, which is used when initializing MCU to use peripherals. DAVE APP is a must-have for a graphical configuration project. If you are familiar with it, you will be able to use it with ease. There are many example programs in DAVE EXAMPLE below, which can be downloaded for reference. In addition, you need to download a JLink_Windows_V640.exe for debugging XMC4800 Relax EtherCAT Kit Prepare 7zip.exe is used when decompressing DAVE4. When using Winrar, a strange problem will occur with the path file name being too long. In the Boards section, find the XMC4800 Relax EtherCAT Kit as shown in Figure 12: Click the red part to enter, and all the information of the board will come into view, as shown in Figure 13. The next post will analyze it in detail Figure 12: Boards Figure 13: XMC4800 Relax EtherCAT Kit All the information of the XMC4800 Relax EtherCAT Kit is now ready.




Latest reply

Good! It is convenient for everyone  Details Published on 2019-1-15 11:13
Personal signature道法自然~
 

1w

Posts

204

Resources
2
 
Good! It is convenient for everyone
Add and join groups EEWorld service account EEWorld subscription account Automotive development circle
Personal signature

玩板看这里:

http://en.eeworld.com/bbs/elecplay.html

EEWorld测评频道众多好板等你来玩,还可以来频道许愿树许愿说说你想要玩的板子,我们都在努力为大家实现!

 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list