- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CYUSB301X is in 32bit mode.
The questions about the interface that is supported in 32bit mode.
Is it possible to use GPIO53 ~ GPIO56 SPI mode in 32bit mode?
And is it possible to use GPIO50 ~ GPIO52 GPIO mode in 32bit mode?
Or it is set to only accept 32bit mode? (Only use to GPIO50 ~ GPIO52 : I2S / GPIO53 ~ GPIO56 : SPI)
I would like to check the GPIO dependence in 32bit mode.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Is it possible to use GPIO53 ~ GPIO56 SPI mode in 32bit mode?
--You cannot use hardware SPI pins in 32-bit mode. However, you can override the GPIO[53]-GPIO[56] and use them as bit-banged SPI pins.
You can go through the example: C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\serialif_examples\cyfxusbspigpiomode
The following example implements the same functionality as you want to implement.
And is it possible to use GPIO50 ~ GPIO52 GPIO mode in 32bit mode?
--You can use these as GPIO's but you will have to firstly override them using CyU3PDeviceGpioOverride() API and then configure them as simple or complex.
You can go through the implementation in SDK example from the path: C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\serialif_examples\cyfxgpioapp
Regards,
Yashwant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Is it possible to use GPIO53 ~ GPIO56 SPI mode in 32bit mode?
--You cannot use hardware SPI pins in 32-bit mode. However, you can override the GPIO[53]-GPIO[56] and use them as bit-banged SPI pins.
You can go through the example: C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\serialif_examples\cyfxusbspigpiomode
The following example implements the same functionality as you want to implement.
And is it possible to use GPIO50 ~ GPIO52 GPIO mode in 32bit mode?
--You can use these as GPIO's but you will have to firstly override them using CyU3PDeviceGpioOverride() API and then configure them as simple or complex.
You can go through the implementation in SDK example from the path: C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\serialif_examples\cyfxgpioapp
Regards,
Yashwant