Open barbiani opened 6 months ago
gpio06&gpio07 are configured as SWD by default and need to be disabled before they can be used for general IO
@xunyueli yeah, that is the point of the question, since it is not documented anyway would you mind to tell how to disable the SWD at runtime so that A6 and A7 can be used normally? Thanks.
@xunyueli yeah, that is the point of the question, since it is not documented anyway would you mind to tell how to disable the SWD at runtime so that A6 and A7 can be used normally? Thanks. Eg: rcc_enable_peripheral_clk(RCC_PERIPHERAL_GPIOA, true); gpio_set_iomux(GPIOA, GPIO_PIN_6, 0); gpio_set_iomux(GPIOA, GPIO_PIN_7, 0);
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.