完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我想演示使用HARMony和以太网启动器套件II(PIC32MX处理器)的单向三线处理器间通信。在我掉进黑洞之前,有没有人做过这样的事情,或者告诉我它会或不会工作?我相信SPI有一个主模式,输出3个信号(SDO,SCK,SS),但如果SDI信号没有连接,和谐SPI驱动程序会工作吗?以太网启动器套件II有一个120引脚连接器,所以我打算买一个第二板,2个连接器和一个电缆。希望我能找出如何断开SPI信号而不拧紧其他电线。这样行吗?提前感谢。…
以上来自于百度翻译 以下为原文 I would like to demonstrate a one-way 3-wire interprocessor communication using Harmony and the Ethernet Starter Kit II (PIC32MX processor). Before I fall into a black hole, has anyone done something like this or can tell me that it will or will not work? I believe SPI has a master mode that outputs 3 signals (SDO, SCK, SS) but will the Harmony SPI driver work if the SDI signal is not connected? The Ethernet Starter Kit II has a 120-pin connector so I was going to buy a second board, 2 connectors and a cable. Hopefully I can figure out how to disconnect the SPI signal without screwing up the other wires. Will that work? Thanks in advance . . . |
|
相关推荐
6个回答
|
|
嗨,我相信SPI外围设备只有一种方式,所以它应该是可行的。我不能预测为什么Harmony不允许这样做。查看C:micro..onyv2_00bapps.spiit中的示例应该可以帮助您快速地进行穹顶测试。如果使用PIC32MX启动器套件,则可以使用tPIC32 I/O扩展板方便地访问PIC32 MX信号。
以上来自于百度翻译 以下为原文 Hi, I believe there are SPI peripherals which are only one way so it should be doable. I cannot foresee any reason why Harmony would not allow this. Check the examples in C:microchipharmonyv2_00bappsdriverspi It should help you to do dome tests rapidly. If you use PIC32MX starter kit, you can use the PIC32 I/O expansion board to access easily the PIC32MX signals. Regards |
|
|
|
只是不要留下一个活跃的SDI引脚浮动,绑它高或低。
以上来自于百度翻译 以下为原文 Just don't leave an active SDI pin floating, tie it high or low. |
|
|
|
和谐是不允许的。外围设备允许很多选项,和声可能无法处理它们。这是一个上帝的事情,因为你会有一个巨大的臃肿司机。额外的寄存器可以根据需要设置。或者SPI可以在没有驱动程序的情况下编码。
以上来自于百度翻译 以下为原文 With Harmony it is not a matter of allow. The peripherals allow a lot of options. Harmony may not handle them all. That is a god thing because then you would have a huge bloated driver. The extra registers can be set as needed. Or SPI can be coded without the Driver. |
|
|
|
UART可能是处理器间通信的更好选择,尤其是单边通信。只需要一根导线。处理起来要容易得多。
以上来自于百度翻译 以下为原文 UART might be a better choice for inter-processor communications, especially one-sided. Only one wire is needed. And handling is much easier. |
|
|
|
感谢所有对此提出建议的人,但我更困惑了!我看了看PIC32 I/O扩展板的图片,发现以太网启动器套件只有一个120引脚的连接器。如何连接第二个起动器套件?至于UART的建议,我在以太网启动器套件上找不到UART,那么我是否回到连接两个启动器套件的扁平带状电缆上?
以上来自于百度翻译 以下为原文 Thanks to all who offered advice on this, but I am more confused! I looked at the PIC32 I/O Expansion Board picture and it appears there is only one 120-pin connector for the Ethernet Starter Kit. How do I connect the second starter kit? As for the UART suggestion, I cannot find a UART on the Ethernet Starter kit, so am I back to a flat ribbon cable connecting the two Starter Kits? |
|
|
|
PPS(外围引脚选择)允许您改变某些引脚的功能。
以上来自于百度翻译 以下为原文 The PPS ( peripheral pin select )allows you to change the function of certain pins. |
|
|
|
只有小组成员才能发言,加入小组>>
5244 浏览 9 评论
2035 浏览 8 评论
1955 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3209 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2260 浏览 5 评论
779浏览 1评论
672浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
598浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
682浏览 0评论
579浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-25 14:41 , Processed in 1.679322 second(s), Total 87, Slave 71 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号