引用: djiwqljd 发表于 2019-1-2 08:42
对不起的,
我的问题是使用FX3 EZ USB SDK API提供初始化后的GPIF,然后使用SPI函数函数不能使用,现在使用GPIO模仿SPI。
由于需要使用高速读写操作,所以模仿SPI不能满足,有无解决方案?
看起来你想要使用32位GPIF和SPI功能。
但是在FX3中,当GPIF II配置为32位模式时,SPI接口线不可用。然而,仍然有可能
使用SPI接口进行引导,然后将GPIF II配置为32位模式。
如果您的SPI接口需求不是用于引导目的,您仍然可以使用GPIOS获得SPI功能。
我们已经在SDK中提供了一个示例项目,其中我们使用4个GPIOS作为SPI用途。
参考这个路径中提供的项目: EZ-USB FX3 SDK 1.3固件SerialIFiFixCyfxUsBSPICOMMODEMODE
这对你有帮助吗?
以上来自于百度翻译
以下为原文
It looks like you want to use 32-bit GPIF and SPI Functionality.
But in FX3, SPI interface lines are not available when GPIF II is configured in 32-bit mode. However it is still possible to
use SPI interface for booting and then configure GPIF II to 32-bit mode.
If your SPI interface requirement is not for Booting purpose, you can still get the SPI Functionality using the GPIOs.
We have provided an example project in the SDK, in which we used 4 GPIOs for SPI purpose.
Refer the project provided in this path: EZ-USB FX3 SDK1.3firmwareserialif_examplescyfxu***spigpiomode
Is this helpful to you?
引用: djiwqljd 发表于 2019-1-2 08:42
对不起的,
我的问题是使用FX3 EZ USB SDK API提供初始化后的GPIF,然后使用SPI函数函数不能使用,现在使用GPIO模仿SPI。
由于需要使用高速读写操作,所以模仿SPI不能满足,有无解决方案?
看起来你想要使用32位GPIF和SPI功能。
但是在FX3中,当GPIF II配置为32位模式时,SPI接口线不可用。然而,仍然有可能
使用SPI接口进行引导,然后将GPIF II配置为32位模式。
如果您的SPI接口需求不是用于引导目的,您仍然可以使用GPIOS获得SPI功能。
我们已经在SDK中提供了一个示例项目,其中我们使用4个GPIOS作为SPI用途。
参考这个路径中提供的项目: EZ-USB FX3 SDK 1.3固件SerialIFiFixCyfxUsBSPICOMMODEMODE
这对你有帮助吗?
以上来自于百度翻译
以下为原文
It looks like you want to use 32-bit GPIF and SPI Functionality.
But in FX3, SPI interface lines are not available when GPIF II is configured in 32-bit mode. However it is still possible to
use SPI interface for booting and then configure GPIF II to 32-bit mode.
If your SPI interface requirement is not for Booting purpose, you can still get the SPI Functionality using the GPIOs.
We have provided an example project in the SDK, in which we used 4 GPIOs for SPI purpose.
Refer the project provided in this path: EZ-USB FX3 SDK1.3firmwareserialif_examplescyfxu***spigpiomode
Is this helpful to you?
举报