This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

P0.12 GPIO pin usage on DK

Hello !

I would like to use pin P0.12  as common gpio output and configure it on quite later phase in my SW.

I use  nrf_gpio_cfg_output and set/clear for have relevant value on output.

But it looks as floating pin and output value is not changed.

Do I need to set some muxing or some other special configuration ?

It has second usage for TRACEDATA and not looks as common pin.

Regards,

Eugene

  • Hi,

    Pin P0.12 can be used as ordinary GPIO pin. However, it is also connected to switch 7 (SW7) and can be used as trace pin. If you have not used SW7 to switch it to trace, it should normally work in hardware and you should be able to use it. You should just be aware that it is also connected to the button 2. If you are not using button 2 you should be able to use P0.12 as normal GPIO pin. It should be possible to use nrf_gpio_cfg_output() function to set the pin in desired output state.

    Best regards,
    Dejan

Related