Hello,
I am using nRF52840 dev kit with sdk 17.0.2, s140 softdevice and dfu bootloader also implemented.
When I download the firmware to dev kit it works as intended, only problem is that pin P0.06 in automatically getting high, even thought there is nothing in my code which makes it high. After some debugging I fount that writing NRF_LOG_ENABLED = 1 is causing pin P0.06 to be high. However if I disable nrf_log i.e make NRF_LOG_ENABLED = 0 then pin stays low.
On dev kit this pin is high and its not a big problem because I am not using pin P0.06 but my team has developed a custom board based on nrf52840 and on pin 0.06 we have attached a buzzer. With nrf_log enabled it keeps buzzer always high, even if we hard code it to low. For example, in main function after log_init() and before idle loop we are making pin0.06 low but it gets high again and stays high.
At this point we need nrf_log functionality in our program so I cannot disable it. On the other hand I am unable to find reason that why it is making pin0.06 high. Any help in this regard will be appreciated.