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

USB superspeed peripherals Forum Discussions

PrM_1403381
Level 4
Level 4
First like received First like given Welcome!

Hi,

I need to use GPIO Interrupt handling in Cypress FX3 Bootloader.

I am using cyfx3gpio.h in my bootloader code for GPIO initialization, I am able to set and get the value of the GPIO, And the Cypress FX3 note says

Boot library I am using is 1.3.3. "C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\boot_lib\1_3_3\include"

"

    Interrupts are not supported in this release of booter. The interrupt mode

    for all GPIOs need to be set to CY_FX3_BOOT_GPIO_NO_INTR.

"

Is there any possibility to use the GPIO Interrupt in bootloader code. If so what are the changes I need to make.

Thanks in advance.

Best Regards

Prasanna

0 Likes
1 Solution

Hi Prasanna,

Including a GPIO interrupt callback in boot mode is not a trivial change. As of now, it is not supported by us.

Regards,

Rashi

Regards,
Rashi

View solution in original post

6 Replies
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

Hi Prasanna,

GPIO Interrupt is not supported in the bootloader code for version 1.3.3 as well as 1.3.4

Regards,

Rashi

Regards,
Rashi
0 Likes

Hi Rashi,

Thanks for the input.

Do I need to make any changes to use ? Is it feasible to make changes ?

Best Regards

Prasanna

0 Likes

Hi Prasanna,

There are no changes that can be done for GPIO Interrupt in the boot mode.

Let us know why do you need the GPIO interrupt in your application so that we can think of some alternative.

Regards,

Rashi

Regards,
Rashi
0 Likes

Hi Rashi,

Thanks for the support.

I am able to full fill my requirement using GPIO polling mechanism.

If it is easy to add interrupt handler in boot mode and will not increase code size means, You can suggest. If it is time consuming and increases code size will not use GPIO interrupt in boot mode.

Thanks & Regards

Prasanna

0 Likes

Hi Prasanna,

Including a GPIO interrupt callback in boot mode is not a trivial change. As of now, it is not supported by us.

Regards,

Rashi

Regards,
Rashi

Hi Rashi,

Thanks for the support.

As of now our requirement is fulfilled by GPIO polling method.

Thanks & Regards

Prasanna

0 Likes