• Do you mass erase the flash memory before flashing the hex? otherwise you may still have old bootloader there if you disabled it only with later builds

    D9 is NFC pin, for that you need -DCONFIG_NFCT_PINS_AS_GPIOS so the button would work correctly, otherwise it may be stuck in one state when reading.

    as for

     pinutils.findpin(pins, "PD19", True)["functions"]["ADC1_IN1"]=0; # LED red
      pinutils.findpin(pins, "PD20", True)["functions"]["ADC1_IN2"]=0; # LED green
      pinutils.findpin(pins, "PD21", True)["functions"]["ADC1_IN3"]=0; # LED blue
    

    that makes no sense, nrf5x can do analog only on first (D2-D5) and last (D28-D31) four pins,
    for LEDs you would want to do pwm to dim them anyway?

  • On,no! It seems like the BTN1 Pin is D9, Right or no?I found it from the PCB image

    DCONFIG_NFCT_PINS_AS_GPIOS

    Adding 'DEFINES+=-DCONFIG_NFCT_PINS_AS_GPIOS', now...
    But,had the same problem, stucked on LED1 (red led) ...

    Do you mass erase the flash memory before flashing the hex?

    Yes, with nrf5 mass_erase

    for LEDs you would want to do pwm to dim them anyway?

    Sorry I don't know, i am a freshman :-)


    1 Attachment

    • newboard.gif
About

Avatar for tyronehell @tyronehell started