LPC54606J512BD208 GPIOs on Port 5

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC54606J512BD208 GPIOs on Port 5

Jump to solution
1,193 Views
Jean_Marc
Contributor II

Hello,

I am working with a LPC54606J512BD208, I can use GPIOs on ports 0 to 4 but I can't use GPIO on port 5, I do same as other ports but I did not succeed to make it work.

I see port 5 has only 11 I/O as other ports has 32, is there are a different way to use GPIO on port 5 or should it work same as ports 0-4 ?

Regards

Jean-Marc

Labels (1)
0 Kudos
1 Solution
1,080 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi,

There is nothing special in pio5 with other port. Please make sure if:

1. the GPIO5_RST bit in PRESETCTRL2 is release,

2. the GPIO5 bit in AHBCLKCTRL2 is set,

3. function select to GPIO,

4. GPIO_MASK and GPIO_DIR is set correctly.

Regards

Jing

View solution in original post

2 Replies
1,080 Views
Jean_Marc
Contributor II

Thanks for the help, I just forgot to enable the clock.

Regards

Jean-Marc

0 Kudos
1,081 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi,

There is nothing special in pio5 with other port. Please make sure if:

1. the GPIO5_RST bit in PRESETCTRL2 is release,

2. the GPIO5 bit in AHBCLKCTRL2 is set,

3. function select to GPIO,

4. GPIO_MASK and GPIO_DIR is set correctly.

Regards

Jing