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
  • Thank you Carl.

    It is now clear to me how to go about it.

    So, what is meant by the following description I read in the user manual OPS_v0.6.1, section 7.38.8?

    7.38.8 Pin configuration
    The different signals RXD, CTS (Clear To Send, active low), RTS (Request To Send, active low), and TXD
    associated with the UARTE are mapped to physical pins according to the configuration specified in the
    PSEL.RXD, PSEL.CTS, PSEL.RTS, and PSEL.TXD registers respectively.

    Thank you again.

Reply
  • Thank you Carl.

    It is now clear to me how to go about it.

    So, what is meant by the following description I read in the user manual OPS_v0.6.1, section 7.38.8?

    7.38.8 Pin configuration
    The different signals RXD, CTS (Clear To Send, active low), RTS (Request To Send, active low), and TXD
    associated with the UARTE are mapped to physical pins according to the configuration specified in the
    PSEL.RXD, PSEL.CTS, PSEL.RTS, and PSEL.TXD registers respectively.

    Thank you again.

Children
Related