sad
How have you connected the LED? Did you connect the LED to GPIO P1.02 (pin # 39 on the module)? Note that the pin numbers used in the application is referring to the GPIO number (PORT_NUMBER*32 + PIN_NUMBER).
Which SDK version are you using? Have you tried both setting and clearing the GPIO? Have you tried setting the GPIO manually without the GPIO HAL functions?
NRF_P1->PIN_CNF[2] = (GPIO_PIN_CNF_DIR_Output << GPIO_PIN_CNF_DIR_Pos) |
(GPIO_PIN_CNF_DRIVE_S0S1 << GPIO_PIN_CNF_DRIVE_Pos) |
(GPIO_PIN_CNF_INPUT_Disconnect << GPIO_PIN_CNF_INPUT_Pos) |
(GPIO_PIN_CNF_PULL_Disabled << GPIO_PIN_CNF_PULL_Pos) |
(GPIO_PIN_CNF_SENSE_Disabled << GPIO_PIN_CNF_SENSE_Pos);
NRF_P1->OUTSET = (1UL << 2); // Set GPIO P1.02 high
NRF_P1->OUTCLR = (1UL << 2); // Set GPIO P1.02 lowI just tried, incl. on zero port on several pins.
Unfortunately, the result is zero. Maybe you need some PPI settings or disable standard UART or something else.
During the tests - additionally did not include anything. If you enable SPI 0 and output MOSI or SCK on the same P 1.02 - everything works, I see the signal visually (on the LED) and on the oscilloscope - the signal is clear.
I just tried, incl. on zero port on several pins.
Unfortunately, the result is zero. Maybe you need some PPI settings or disable standard UART or something else.
During the tests - additionally did not include anything. If you enable SPI 0 and output MOSI or SCK on the same P 1.02 - everything works, I see the signal visually (on the LED) and on the oscilloscope - the signal is clear.