
DAVE4
PI_sunyang
Assistant embedded engineer!
Facebook:Yang Sun
Stack overflow:Sun_yy
Gmail:johnsonyang1994@gmail.com
一群志同道合的人共同到达一个从未到达的地方
展开
-
XMC4300_UART
* code. */ uint8_t Send_Data[] = "Hello infineon"; uint8_t Rec_Data[64];int main(void){ DAVE_STATUS_t status; UART_STATUS_t init_status; status = DAVE_Init(); /* Initializatio原创 2017-09-14 17:38:24 · 1276 阅读 · 0 评论 -
Modify Object Dictionary
1.Object Dictionary 对象字典就相当于菜单(OD),比如你去饭店吃饭,看到有好多菜(OD中的对象),菜前面都编着号(索引),然后有一些还会让你选甜口还是咸口,微辣还是加辣,也编着小号(子索引),你选择困难,觉得自己点太麻烦,又看到有套餐(PDO),套餐包含的样式有限(64bit),然后你告诉服务员,我要套餐A(已经映射好OD中的对象的PDO),服务员听到后(PDO发送成功),不一原创 2017-10-13 16:40:20 · 311 阅读 · 0 评论 -
Twincat3 读取CSV文件
http://blog.youkuaiyun.com/qq_36316099/article/details/64502616转载 2017-11-17 11:24:41 · 2140 阅读 · 0 评论 -
xmc4800 Ethercat high speed sync event
https://www.infineonforums.com/threads/4963-XMC4800-EtherCAT-high-speed-sync-event转载 2017-11-17 11:27:22 · 814 阅读 · 0 评论 -
测量一段函数的运行时间
http://blog.youkuaiyun.com/sinat_23338865/article/details/52039513 1. 就是用GPIO高低电平时间,在被测量的一条语句前将一个管脚的GPIO拉低,测量完毕后,将该GPIO拉高,用示波器测量该GPIO的电平转换时间。 http://blog.sina.com.cn/s/blog_a57f68b90102wro4.html原创 2017-11-10 11:06:54 · 827 阅读 · 0 评论 -
Twincat3搭建
http://jexbat.com/2016/Setup-TwinCat/原创 2017-11-15 09:17:43 · 4073 阅读 · 0 评论 -
SYNC0
I am using xmc4300 chip for bldc etherrcat driver. The DC sync0 is enable in this project. When I control the slave with dc sync0 enable by ethercat master, it works only if the sync0 cycle time is l原创 2017-12-09 13:27:44 · 1294 阅读 · 0 评论 -
Twincat3.1 configure
1. Intel VT-x is not supported or not enabled in the bios Check your CPU type and BIOS settings for VT-x/Intel Virtualization Technology. or Activate a solution using only isolated cores ERR 0x10原创 2017-11-21 16:15:26 · 4445 阅读 · 0 评论 -
git
http://blog.youkuaiyun.com/dl425134845/article/details/50997357转载 2017-12-01 17:28:14 · 250 阅读 · 0 评论 -
Twincat3报-0x4550错误的解决方法
http://blog.youkuaiyun.com/x356982611/article/details/78414919转载 2017-11-28 08:52:36 · 4165 阅读 · 0 评论 -
progress report
Now we are developing the EtherCAT Slave by using xmc4300. We use the latest slave code from ETG and the Twincat master or Accontis master. We do the test in PC-windows7. In the DC 1000us,the slave w原创 2017-11-10 10:18:52 · 439 阅读 · 0 评论 -
分布时钟(DC,Distributed Clock)
所谓分步时钟,可以使所有的EtherCAT设备使用相同的系统时间,从而控制各设备的任务的同步执行。从站设备可以根据同步的系统时间产生同步信号,用于中断控制或者触发数字量输入输出。支持分布式时钟的从站称为DC从站。分布时钟具有以下功能: *实现从站之间的时钟同步; *为主站提供同步时钟; *产生同步的输出信号SYNC; *为输入事件产生精确的时间标记; *产生同步的中断; *同步更新数字量原创 2017-10-17 16:37:51 · 4311 阅读 · 0 评论 -
slave
5.2 从站 EtherCAT从站设备使用一个价格低廉的从站控制器芯片ESC。从站不需要微处理器就可以实现EtherCAT通信。可以通过I/O接口实现的简单设备可以只由ESC和其下的PHY,变压器和RJ45接头。给从站的过程数据接口是32位的I/O接口。这种从站没有可配置的参数,所以不需要软件或邮箱协议。EtherCAT状态机由ESC处理。ESC的启动信息从EEPROM中读取,它也支持从站的身份原创 2017-09-26 16:55:31 · 641 阅读 · 0 评论 -
XMC4300 ethercat slave
http://jingyan.baidu.com/album/3052f5a11bbe5297f31f868b.html?picindex=15转载 2017-09-19 11:12:59 · 1155 阅读 · 0 评论 -
DAVE4中的时钟配置与简单原理介绍
方法/步骤 新建一个DAVE CE工程,添加一个名叫CLOCK_XMC4的APP到工程中该APP的主要功能有:1. 设置单片机上的各种时钟源2. 设置内部快速振荡器的校验方式3. 配置系统锁相环PLL的参数4. 可选的时钟分频输出5. 最主要的是,该APP会根据你的配置生成一个名叫SystemCoreClockSetup()的函数供上层应用调用默认情况下,SystemInit函数会调用一个weak原创 2017-09-11 10:04:04 · 1668 阅读 · 0 评论 -
Ethercat基本数据类型
Ethercat基本数据类型(Ethercat Base Data Type) 简介:参考ETG.5001.(XLSX)原创 2017-09-29 09:35:49 · 1830 阅读 · 0 评论 -
Ethercat 几种文件类型
1.EMI(Ethercat master Infomation files) 主站信息文件 2.ESI(Ethercat Slave Descriptions) Ethercat从站描述文件,告诉配置工具从站实现了那些功能,可配置项,依次配置工具可以自动生成一个文件框架。 3.ENI(Ethercat-Network-Information) Ethercat网路信息文件,用于Ether原创 2017-09-29 09:44:00 · 2842 阅读 · 0 评论 -
EtherCAT Slave Implement
Basing on device requiements:Design criteria: 1.Bus inerface to EtherCAT Network a.Converter(from 100Base to LVDS(Low Voltage Differential Signaling)) b.Two MII(Media indepandence interface)(PHY原创 2017-10-18 10:41:35 · 1208 阅读 · 0 评论 -
xmc4300 ethercat 学习之路
1.修改object,参考倍福AN_ET96300.原创 2017-09-22 08:14:04 · 3213 阅读 · 0 评论 -
How to achieve low latency with the 10Gbps Ethernet
https://blog.cloudflare.com/how-to-achieve-low-latency/转载 2017-10-18 15:11:54 · 307 阅读 · 0 评论 -
Object Dictionary
1.在0x0000 - 0xFFFF添加Index,较为方便的查找,研发。 2. 0x0000 - 0x0FFF Data Type Area0x1000 - 0x1FFFCoE Communication Area0x2000 - 0x5FFFManufacturer Specific Area[ETG.5003.1, 5.3]0x6000 - 0xFFFFProfile Area原创 2017-10-10 17:35:54 · 485 阅读 · 0 评论 -
Program serial number for xmc4300 by J-Link + J-Flash
在产品批量生产的时候,很多客户会有这样的需求,即将每个芯片烧写一个唯一的ID号(Serial Number),以方便对产品进行跟踪和管理或者满足对芯片进行绑定ID号加密的需要。而为了提高整个批量生产过程的效率,选择一个好的烧写工具则至关重要。对于英飞凌的4000系列的单片机,我们采用J-Link + J-Flash批量烧写序列号。 开发平台:xmc4000系列 烧写工具:J-Link原创 2018-02-05 09:10:18 · 1189 阅读 · 0 评论