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
解決済! 解決策の投稿を見る。
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
Thanks for the help, I just forgot to enable the clock.
Regards
Jean-Marc
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