FX3 use of SPI and 32 bits words GPIF
来源:互联网 发布:解析域名多久生效 编辑:程序博客网 时间:2024/06/08 15:19
io_cfg.isDQ32Bit = CyTrue; io_cfg.useSpi = CyTrue;
FX3 use of SPI and 32 bits words GPIF不能共存。如果必须用32 bits words GPIF,必须:
io_cfg.useSpi = CyFalse;
可以使用模拟spi接口。
参考:cyfxusbspigpiomode
CyFxGpioInitio_cfg.gpioSimpleEn[1] = 0x01E00000;io_cfg.useUart = CyFalse;
Most of the IO pins on the FX3 device are multi-purpose with the specificconfiguration being selected at system start-up. This enumeration lists thevarious IO operating modes relating to Serial peripheral interfaces.The I2C interface is always available. If the GPIF data bus is configured as32-bit wide, only one of the SPI, UART and I2S interfaces are available. Inthis case, the configuration chosen should be CY_U3P_IO_MATRIX_LPP_DEFAULT.If the GPIF data bus is 8, 16 or 24 bits wide; it is possible to use all ofthe SPI, UART and I2S interfaces. However, the peripheral pins can be relocatedin this case. Refer to the FX3 datasheet for more details and choose the desiredconfiguration accordingly.In the case of the FX3S device, none of the UART, SPI and I2S interfaces areavailable if the second storage port (S1) is used in 8-bit mode. In this case,the configuration chosen should CY_U3P_IO_MATRIX_LPP_NONE.
阅读全文
0 0
- FX3 use of SPI and 32 bits words GPIF
- Bits Bytes and Words
- FX3/CX3 SPI
- Bag of words and Bag of features
- 《Distributed Representations of Words and Phrases and their Compositionality》笔记
- 翻译:Distributed Representations of Words and Phrases and their Compositionality
- The use method of afxDump and TRACE
- use of list view and tree view
- LiveSuit image - Use of simg2img and mkuserimg
- Significance and use of do{...}while(0)
- Reverse bits of a given 32 bits unsigned integer
- leetcode:bits:Bitwise AND of Numbers Range(201)
- Use Objective Words
- Words and Their Stories: Some of Our Listeners' Favorite Sayings
- Distributed Representations of Words and Phrasesand their Compositionality
- Distributed Representations of Words and Phrasesand their Compositionality
- Use HttpUtility and NameValueCollection in c# of Visual Studio 2010
- play of vim Save and use vim sessions
- iPhone X 屏幕适配,没有铺满屏幕的情况
- POJ-1979 Red and Bla
- Quartz(一) 简单的使用
- Leetcode刷题记录
- 模糊查询的参数嗅探
- FX3 use of SPI and 32 bits words GPIF
- Axure游戏原型设计实例应用(三)——Einsphoton
- AES自动生成base64密钥加密解密
- JavaScript基础之Node.js与crypto
- 对于数据结构的初步了解
- windows7 update 更新失败卡在界面解决方案
- LeetCode(4)——Median of Two Sorted Arrays
- 实现简单的线程池
- iOS对象引用计数