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

nRF51822 and nRF6310 GPIO mappings

I'm a little lost on the GPIO mappings from the code to the outside world. I'm playing with the UART example on the nRF6310 board. In the sample code, IO 16 is RX and IO 17 is TX.

My incorrect assumption was that referred to P0.16 and P0.17.

According to the SDK documentation, it actually works out to P0.08 and P0.09 which map out to P2.0 and P2.1 on the DVK.

What am I missing????

Parents
  • Hm, on the motherboard, the pins are like this:

    
    nRF51822    <-> Motherboard
    P0.00-P0.07 <-> P0.0 - P0.7
    P0.08-P0.15 <-> P1.0 - P1.7
    P0.16-P0.23 <-> P2.0 - P2.7
    P0.24-P0.31 <-> P3.0 - P3.8
    
    

    What you might be seeing is that the UART can be configured to different pins, and depending on what example you check (and what board you are using) the uart could be mapped to different pins.

Reply
  • Hm, on the motherboard, the pins are like this:

    
    nRF51822    <-> Motherboard
    P0.00-P0.07 <-> P0.0 - P0.7
    P0.08-P0.15 <-> P1.0 - P1.7
    P0.16-P0.23 <-> P2.0 - P2.7
    P0.24-P0.31 <-> P3.0 - P3.8
    
    

    What you might be seeing is that the UART can be configured to different pins, and depending on what example you check (and what board you are using) the uart could be mapped to different pins.

Children
No Data
Related