We are developing a board based on nRF52840. One of the pins we would like to use as GPIO is P1.09. It is configured as GPIO (the same configuration as P0.12), but the output does not get set to 1 (the P0.12 does get set to 1 using identical code).
Some searching revealed, that P1.09 is used by for TRACE. From what I have found, defining ENABLE_TRACE would enable TRACE, otherwise these pins would just be normal GPIOs. Looking into sstem_nrf52840.c, where ENABLE_TRACE is used if defined, the code is greyed out, indicating that TRACE is not enabled. At least not by ENABLE_TRACE.
Is there some other mode of enabling trace?
How can we use these pins (Especially P1.09) as GPIO?
Thank you!