This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cannot use GPIO1 in NCS

I used the P1.13 pin of NRF52833 as the output pin, and used it in the manner of the blinky sample program, but it crashed and prompted the following error message:

*** Booting Zephyr OS build v2.4.99-ncs1 ***
I: port_pin_mask:1023
I: busy_pin_dev:GPIO_1 BUSY_GPIO_PIN:10
ASSERTION FAIL @ WEST_TOPDIR/zephyr/include/drivers/gpio.h:580
E: r0/a1: 0x00000004 r1/a2: 0x00000244 r2/a3: 0x00000000
E: r3/a4: 0x0000b311 r12/ip: 0x00000000 r14/lr: 0x00005923
E: xpsr: 0x41000000
E: Faulting instruction address (r15/pc): 0x000326ce
E: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0
E: Current thread: 0x20002308 (main)
E: Resetting system

The config->port_pin_mask in the device struct of GPIO1 is 1023

Parents Reply Children
Related