This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Programming nrf52832

Hello,

I am using custom board with nRF52832 and Keil uVision5 as IDE. I started with simple example which is just to ON the LEDs.

Code(all necessary header files are added) :

int main(void) {

        nrf_gpio_cfg_output(17);
        nrf_gpio_cfg_output(18);
    
        nrf_gpio_pin_write(17,1);
        nrf_gpio_pin_write(18,1);   }

I flashed the chip and that was shown successful in build output in keil. I even checked temp.hex file and all lines were FFFFF....(according to this answer by tesc)

But LEDs are not glowing. I checked GPIO pins with multimeter and they weren't even high(value 1).

So, what may be the problem? What should I check/do?

Parents Reply Children
No Data
Related