-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
Hi,
We are trying to use GPIO7 as push-pull pin, but the cpu freezes while doing so.
Currently, firmware flash is done via serial port. No SWD in use.
Thank you for any tips.
gpio_t *gpiox = GPIOA;
gpio_init(gpiox, GPIO_PIN_7, GPIO_MODE_OUTPUT_PP_HIGH);
gpio_set_iomux(gpiox, GPIO_PIN_7, 0); // hangs here
gpio_write(gpiox, GPIO_PIN_7, GPIO_LEVEL_HIGH);
gpio_write(gpiox, GPIO_PIN_7, GPIO_LEVEL_LOW);
Metadata
Metadata
Assignees
Labels
No labels