1
完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,我自己用的是LAN9252-ADD-ON的eval板(NoBeckhoff板)。在Windows 10上使用Twincat 3在简单的数字IO模式下,我已经能够正确操作了。现在我想继续使用SPI接口模式。我可以重新编程LAN9252多个微芯片XML文件的EEPROM。而且,我的SPI接口工作得很好,我可以读LAN9252寄存器。但是,由于LAN9252不能从INIT状态转换到OP状态,因此我在取得进一步的进展上遇到了困难。错误信息表示在状态转换过程中超时。我的问题是:在Ethercat状态机转换到OP之前,是否有一些特定的LAN9252寄存器必须通过SPI接口初始化?干杯,戴维
以上来自于百度翻译 以下为原文 Hi, I'm using the LAN9252-ADD-ON eval board by itself (No Beckhoff board). I've been able to get correct operation in the simple Digital IO mode using Twincat 3 on Windows 10. Now i"d like to proceed to SPI Interface mode. I can reprogram the EEPROM of the LAN9252 from any of several Microchip xml files just fine. Also, my SPI interface works great and I can read LAN9252 registers. However, I'm having trouble making further progress because the LAN9252 will not make the transition from the INIT state to the OP state. The error message says that it times out during the state transition process. My question is: Are there some specific LAN9252 registers that must be initialized via the SPI interface before the Ethercat state machine will transition to OP? Cheers, David |
|
相关推荐
3个回答
|
|
你好,JWiens,我好像和您在LAN9252上有类似的问题。我想用EVB-LAN9252-Beckhoff-ADDON作为我们自己的FPGA模块的Addon-Card,首先实现以太网端口,然后实现Ethercat。我的问题是,无论我怎么努力,我都不能让EVB单独与您一起工作。r FPGA(没有连接到Ethercat-Master)。我试图在DigIO-Modus和SPI-Modus中运行它,但是两种方式我都不能访问寄存器。在开始时你有类似的问题吗?我需要做些什么来让界面运行吗?最佳马蒂亚斯
以上来自于百度翻译 以下为原文 Hello JWiens, it seems that i have similar problems as you had with the LAN9252. I´d like to use the EVB-LAN9252-Beckhoff-ADDON as an Addon-Card for our own FPGA-Modul to realize at first Ethernet-Ports and later Ethercat. My Problem is that what ever i try, i don´t get the EVB working alone with our FPGA(without connection to an Ethercat-Master). I tried to run it in DigIO-Modus and in SPI-Modus but both ways i don´t get access to the registers. Did you have similar problems at the beginning, is there anything i need to do to get the interfaces running? Best Regards Matthias |
|
|
|
你好,JWiens,你能分享你用来配置EEPROM的ESI文件吗?我们正在努力获得LAN9252 SPI模式从OIT状态进入OP状态。
以上来自于百度翻译 以下为原文 Hello JWiens, Can you please share the esi file that you have used to configure eeprom? We are working on getting lan9252 spi mode to go to op state from init state. |
|
|
|
你好,JWEN感谢您的有用的帖子-这有助于我们节省时间。我们的9252挖掘I/O板工作在EP模式下的ECAT奴隶。我们需要知道中断和同步主机设置。当我们使用FrdMK64作为主机微计算机来建立9252个挖掘I/O板(ECAT从属)时,你能分享一些想法吗?
以上来自于百度翻译 以下为原文 Hi jwiens Thanks for your useful post - this has helped us save hours. Our 9252 DIG I/O board works as eCAT slave on OP mode. We need to know the interrupt and sync master settings. As we are using FRDMK64 as host micro to set up 9252 DIG I/O board(eCAT slave), could you share some ideas. |
|
|
|
只有小组成员才能发言,加入小组>>
5242 浏览 9 评论
2031 浏览 8 评论
1955 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3207 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2256 浏览 5 评论
778浏览 1评论
666浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
595浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
677浏览 0评论
576浏览 0评论
小黑屋| 手机版| Archiver| 德赢Vwin官网 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-23 12:39 , Processed in 1.089253 second(s), Total 49, Slave 43 queries .
Powered by 德赢Vwin官网 网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
德赢Vwin官网 观察
版权所有 © 湖南华秋数字科技有限公司
德赢Vwin官网 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号