CYUSB301X is in 32bit mode.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
SESE_4649491
Level 1
Level 1

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.

CYUSB301X.PNG

0 Likes
1 Solution
YashwantK_46
Moderator
Moderator
Moderator
100 solutions authored 50 solutions authored 50 likes received

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

View solution in original post

0 Likes
1 Reply
YashwantK_46
Moderator
Moderator
Moderator
100 solutions authored 50 solutions authored 50 likes received

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

0 Likes