完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
SPI驱动程序实例没有SPI从选择端口通道和端口引脚来选择。只对SPI模块ID有选项。这对于下一个版本是一个很好的建议。
以上来自于百度翻译 以下为原文 SPI Driver Instance does not have SPI Slave Select Port Channel and Port Pin to select. Have option only for SPI module ID. This would be a good suggestion for the next version. Regards |
|
相关推荐
9个回答
|
|
你的意思是说选择一个特定的端口引脚作为SSX PIN?
以上来自于百度翻译 以下为原文 you mean to say option to select a particular port pin as SSx pin? |
|
|
|
嗨,阿帕南!是的,选择一个特定的端口引脚作为SSx引脚。不需要“从属选择”行,如果只使用一个从属端口,那么对Harmony可以吗?然而,使用SS线,主站可以选择与哪个从站进行通信。如果可以选择多个从站,只需要将逻辑低应用到期望的SS线。
以上来自于百度翻译 以下为原文 Hi arpananand! Yes, option to select a particular port pin as SSx pin. The "Slave Select" line is not required, if only one slave is used, this is OK for Harmony? However, using the SS line, the master can choose which slave with which to communicate. If more than one slave may be selected, simply by applying a logic low to the desired SS lines. |
|
|
|
大多数SPI存储设备都不正确。在发送每个命令之前,必须立即驱动SS低,并且在每个事务结束时再次高。
以上来自于百度翻译 以下为原文 Not true for most SPI memory devices. You MUST drive SS low immediately before sending each command, and high again at the end of each transaction. |
|
|
|
SPI驱动器不能确定何时使SS线高或低,因为需求从一个奴隶到另一个。这应该是由用户在SPI事件处理程序中手动完成的(对于启动和结束操作有不同的处理程序)。
以上来自于百度翻译 以下为原文 SPI driver can not be sure when to make SS line high or low as the requirement varies from one slave to another. this should be ideally done by user in SPI event handler (there are different handlers for start and end operations) manually. |
|
|
|
好的,但是应该与微芯片组件,如ENC424一起工作,这个和谐驱动程序有选择SPI从选择端口通道和端口引脚的选项,但是不工作。你能帮我使它工作吗?关于SACPC
以上来自于百度翻译 以下为原文 OK but should work with microchip components, such as ENC424, this Harmony driver has the option SPI Slave Select Port Channel and Port Pin to select, but does not work. Could you help me make it work? Regards ACPC |
|
|
|
我没有使用过Harmony,但我猜这些选项是用于设置当您是奴隶时哪个管脚充当奴隶选择,这是SPI外设的硬件功能。当您是主人时没有帮助,SS必须手动驱动。
以上来自于百度翻译 以下为原文 I have not used Harmony, but I would guess those options are for setting which pin acts as the slave select when you you are a slave, which is a hardware function of the SPI peripheral. No help to you when you are a Master, and SS must be manually driven. |
|
|
|
这里我有点迷惑:请检查和谐驱动器中的这些设置。ENC424J600 SPI驱动器实例有SPI从选择端口通道和端口引脚要选择。闪存驱动器/SST25VF020B SPI驱动器实例有SPI芯片选择端口通道和端口位位置要选择。ENC424是主控吗?PIC32是奴隶吗?SST25VF020B是从机?PIC32大师?
以上来自于百度翻译 以下为原文 I'm a little confused here: Please check these settings in Harmony DRIVERS. ENC424J600 SPI Driver Instance has SPI Slave Select Port Channel and Port Pin to select. Flash Drivers/SST25VF020B SPI Driver Instance has SPI Chip Select Port Channel and Port Bit Position to select. ENC424 is Master? PIC32 is Slave? SST25VF020B is Slave? PIC32 Master? |
|
|
|
数据表ENC424J600 pag.414.1物理实现ENC424J600/624J600上的SPI端口仅作为从端口工作。主机控制器必须被配置为生成串行时钟(SCK)信号的SPI主控器。该实现支持SPI模式0,0,其中:·SCK处于逻辑低状态。数据在上升时钟沿上被计时,在下降时钟沿上被改变。其他SPI模式使用inveRTD时钟极性和/或相位不受支持。命令和数据被发送到锡宾上的设备。在SCK的下降边上的SO线上输出数据。当执行任何操作时,CS管脚必须保持低电平,并在有故障时返回到逻辑高电平。当CS处于非活动(逻辑高)状态时,SO管脚设置为高阻抗状态并变得容忍5V。这允许ENCX24J600连接到由多个SPI共享的单一SPI总线。从设备在非激活时也进入高阻抗状态。为什么ENC424有从选择(SS)端口通道而不是芯片选择(CS)端口通道?
以上来自于百度翻译 以下为原文 Datasheet ENC424J600 pag.41 4.1 Physical Implementation The SPI port on ENC424J600/624J600 devices operates as a slave port only. The host controller must be configured as an SPI master that generates the Serial Clock (SCK) signal. This implementation supports SPI Mode 0,0, which requires: • SCK is Idle at a logic low state • Data is clocked in on rising clock edges and changes on falling clock edges Other SPI modes that use inverted clock polarity and/or phase are not supported. Commands and data are sent to the device on the SI pin. Data is driven out on the SO line on the falling edge of SCK. The CS pin must be held low while any operation is performed, and returned to logic high when finished. When CS is in the inactive (logic high) state, the SO pin is set to a high-impedance state and becomes 5V tolerant. This allows the ENCX24J600 to be connected to a single SPI bus shared by multiple SPI slave devices that also go to a high-impedance state when inactive. Why for Harmony ENC424 have Slave Select (SS)Port Channel and not Chip Select(CS) Port Channel? |
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
5265 浏览 9 评论
2044 浏览 8 评论
1961 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3221 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2271 浏览 5 评论
799浏览 1评论
692浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
626浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
691浏览 0评论
589浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-1-3 04:35 , Processed in 1.260170 second(s), Total 94, Slave 78 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号