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

How to Map UARTE to physical pins?

Hello,

I am a newby to the nRF5340 and Zephyr and I am stuck. I would like to know how to map physical pins to a particular UARTE.

I have read in the user manual OPS_v0.6.1 that this can be configured using these registers PSEL.RXD, PSEL.CTS, PSEL.RTS and PSEL.TXD but I am not sure how.

Is there a tutorial or a sample example where this is illustrated?

Thank you.

Parents Reply
  • Thank you Carl for your prompt response.

    I have gone through the tutorial. It covers the Device Tree concept in section 1.4 but nothing on how to use the registers PSEL.RXD, PSEL.CTS, PSEL.RTS, and PSEL.TXD to map the different signals (RXD, CTS...), to physical pins.

    I, however, do understand how to use the .overlay file to map the different signals (RXD, CTS...), to physical pins as you explained in your previous reply.

    Kind regards

    Mohamed

Children
Related