I have a problem with a DA 14580. I took the IC for ON and Off a LED. I read your site and I found that I need to define two commands for the work. First, determining output for the pin and second high or low being the pin.
1- GPIO_ConfigurePin( GPIO_PORT_1, GPIO_PIN_0, OUTPUT, PID_GPIO, false);
2- GPIO_SetActive(GPIO_PORT_1, GPIO_PIN_0);
I putted these two command in void set_pad_functions(void) in user_periph_setup.c. However, the output is not high and it is always low (0 V). I do not know why it cannot work.
I would be pleased if you could help me.