cyusb3314 pins strapping

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

cross mob
Mike22
Level 2
Level 2
First solution authored 10 sign-ins 5 replies posted

Why do I need two LEDs for green? How does pin strapping for green LED work?

dphan1_0-1659385368943.png

 

0 Likes
1 Solution
Ajeethkumar_P
Moderator
Moderator
Moderator
50 likes received 500 replies posted 100 solutions authored

Hi David Phan,

Thanks for posting in Infineon Developer Community!

Pin 3 of CYUSB3314(HX3) is used for two functionalities, PORT_DISABLE[0](Pin strapping) and DS1_GREEN.

Pin-strapping is used for custom configuration and the functionality is made by measuring the state of the particular GPIO(GPIO as Input) when HX3 boots. Once boots, this pin has no other functionality and hence the same pin is re-used for the LED indication(GPIO as Output) after boot.

For Pin-strapping either the GPIO is made to detect High or Low. With our HX3 DVK, one can choose either of these using a 3-pin jumper. So, two sets of LEDs are needed for LED indication functionality based on the Polarity of the LED. But in your custom board, you don't need two LEDs but only one based on the Pin-strapping polarity.

Thanks,
Ajeeth

View solution in original post

0 Likes
3 Replies
Ajeethkumar_P
Moderator
Moderator
Moderator
50 likes received 500 replies posted 100 solutions authored

Hi David Phan,

Thanks for posting in Infineon Developer Community!

Pin 3 of CYUSB3314(HX3) is used for two functionalities, PORT_DISABLE[0](Pin strapping) and DS1_GREEN.

Pin-strapping is used for custom configuration and the functionality is made by measuring the state of the particular GPIO(GPIO as Input) when HX3 boots. Once boots, this pin has no other functionality and hence the same pin is re-used for the LED indication(GPIO as Output) after boot.

For Pin-strapping either the GPIO is made to detect High or Low. With our HX3 DVK, one can choose either of these using a 3-pin jumper. So, two sets of LEDs are needed for LED indication functionality based on the Polarity of the LED. But in your custom board, you don't need two LEDs but only one based on the Pin-strapping polarity.

Thanks,
Ajeeth

0 Likes
Mike22
Level 2
Level 2
First solution authored 10 sign-ins 5 replies posted

Hi Ajeeth,

Thanks for your explanation. I select three LEDs for DS1 port status as follow. When HX3 boots the pins will be measured low per the pull downed resistors. After booting the same  pins are used for LED indication(active high to turn on LED). Is this correct?

dphan1_0-1659467161058.png

 

 

 

0 Likes
Ajeethkumar_P
Moderator
Moderator
Moderator
50 likes received 500 replies posted 100 solutions authored

Hi,

Yes, Your understanding is correct.

Thanks,
Ajeeth

0 Likes