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

nRF52810 P0.14 out of control

hi,

I found a  interesting thing:I use the output function to configure the P0.14(nrf_gpio_cfg_output(14)). After configuration, the normal output should be low, but it outputs high. Can you explain.

another question:Some pins are high by default(for example P0.16). When I don’t use these pins, will they increase power consumption? Do they need to be configured as inputs or outputs to reduce power consumption?

thanks a lot

Parents Reply
  • Hi

    I just tried it with an nRF52811 device, which is very similar to the nRF52810, and see no problems. I configure P0.14 as an output at the start of the application, and verify with a multimeter that the pin is low. 

    I ran the following simple code to test this:

    int main(void)
    {
        nrf_gpio_cfg_output(14);
        nrf_gpio_cfg_output(17);
        nrf_gpio_cfg_output(18);
    
        while (true)
        {
            nrf_delay_ms(500);
            nrf_gpio_pin_toggle(18);
        }
    }

    If you test the same code, will the issue remain?

    To clarify, you're testing this on your own hardware?

    Do you have more than one board to test with?

    Best regards
    Torbjørn

Children
Related