To read PMODE states instantly in Denebola

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

cross mob
RameshRajan
Level 2
Level 2
50 sign-ins First like received First solution authored

Hi,

I want to know the state of PMODE pins states instantly through software instructions. Can I know how can I do this?

Thanks,

Abdul.

 

0 Likes
1 Solution
AliAsgar
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 750 replies posted

Hi Abdul,

Unfortunately, we do not have any software instructions to get the state of PMODE pins instantaneously.

You could configure PMODE pins as input GPIOs and use the method given in the following KBA to get the state of the PMODE pins.
https://community.infineon.com/t5/Knowledge-Base-Articles/How-FX3-CX3-Bootloader-detects-the-state-o....

Best Regards,
AliAsgar

View solution in original post

0 Likes
6 Replies
JayakrishnaT_76
Moderator
Moderator
Moderator
First question asked 1000 replies posted 750 replies posted

Hi Abdul,

Please let us know why you want to know the state of PMODE pins. As you might be knowing, the state of PMODE pins is sampled by the ROM Bootloader upon power of the device to evaluate the boot mode. The state of these pins are relevant only during the ROM bootloader has started (device being powered up).

Best Regards,
Jayakrishna
0 Likes
AliAsgar
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 750 replies posted

Hi Abdul,

Unfortunately, we do not have any software instructions to get the state of PMODE pins instantaneously.

You could configure PMODE pins as input GPIOs and use the method given in the following KBA to get the state of the PMODE pins.
https://community.infineon.com/t5/Knowledge-Base-Articles/How-FX3-CX3-Bootloader-detects-the-state-o....

Best Regards,
AliAsgar

0 Likes

Hi AliAsgar,

Thank you for responding. 

What are the recommended external pull-up/ pull-down resistors for PMODE pins to set device in SPI boot mode?

0 Likes
AliAsgar
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 750 replies posted

Hi Abdul,

Please refer to AN70707 for details on FX3 hardware design guidelines. https://www.infineon.com/dgdl/Infineon-AN70707_EZ-USB_FX3_FX3S_SX3_hardware_design_guidelines_and_sc...

AliAsgar_0-1654683516133.png

 

Best Regards,
AliAsgar

@AliAsgar  how to get access to PMODE pins to read values, i.e, what  GPIO pins are used to read PMODE states?

0 Likes
AliAsgar
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 750 replies posted

Hi Subhash,

Please refer to FX3 datasheet pin description for pins of PMODE and refer to the KBA above for details on how to read the PMODE pins.

Best Regards,
AliAsgar