Pull up P0.08

Hi, 

I am trying to pull up P0.08 as an enable pin for this switch TPS7A0518 

I use the following code and verified on development board 

gpio_pin_configure(gpio0_dev, GPIO_0_TPS_EN, GPIO_OUTPUT);
gpio_pin_set(gpio0_dev, GPIO_0_TPS_EN, 1);

However, when I move to customized board, it does not work. I am providing a 1.8V source to VCC_NRF 

Anything else I should check or correct? 

Thank you

  • Hello Zhang,
    Not sure how you are configuring the settings for your custom board, but I suspect that gpio0_dev isn't working on the same gpio on your custom board as it is on the development board.
    So check which gpio is used by the gpio0_dev is using or do the same configuration writes directly to gpio0.8 to make sure you set the right pin.
    Best regards
    Asbjørn
Related