This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf52840's P0.21 cannot be used as libuarte's uart RX?

Hello, Nordic & all:

    I have a problem when use P0.21 as the libuarte's uart RX( base on libuarte example/sdk17.0.2) for my custom nrf52840 board, I looked up the reference of nRF52840_PS and found the follow:

P0.08 have no recommend , P0.21 is recommended as QSPI , but my custom board don't use it as my QPSI, that means I can use it as my libuarte's uart RX, am I right?

Unfortunately, I can‘t receive anything from PC via serial port, then I change to default P0.08, It works fine.

Can you help me? what's wrong with my pin configure, or how can I make P0.21 work fine for libuarte's uart RX?

Thanks a lot! 

Parents
  • Hi, 

    I don't see any reason why P0.21 can't be used as uart RX, if you are using the nRF52840-DK then the P0.21 is by default routed to external memory IC, so you need to cut and solder some solder bridges as indicated on the back of the nRF52840-DK in that case. However, if you are using your own board, then I don't expect that is the problem. Are you able to toggle the P0.21 pin as a normal GPIO just to check it electrically?

    Kenneth

Reply
  • Hi, 

    I don't see any reason why P0.21 can't be used as uart RX, if you are using the nRF52840-DK then the P0.21 is by default routed to external memory IC, so you need to cut and solder some solder bridges as indicated on the back of the nRF52840-DK in that case. However, if you are using your own board, then I don't expect that is the problem. Are you able to toggle the P0.21 pin as a normal GPIO just to check it electrically?

    Kenneth

Children
Related