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

GPIO drive strength nRF52832

I have read through some of the support forum responses on this but have yet to see a good answer. I have am in development of a custom board, nothing fancy. I have a need to increase the drive strength of pin 12. I am looking in the examples located on the nordic site, and the datasheet of the nR52832 and have not found a good solution. The datasheet does indicate that a register can be written to increase the drive current output to around 15mA total all pins or one pin if none of the others are on. I am working with a GPIO.C and GPIO.h file that I do most of my generic pin set up and interrupt handling. The files include headers to nrf_drv_gpiote.h where there are configurations to do an input and output an input with pullup and output without pullup, etc., I am not able to find a high drive strength variable/pointer.

    nrf_drv_gpiote_out_config_t out_config = GPIOTE_CONFIG_OUT_SIMPLE(false);
    nrfx_gpiote_out_init(BUTTON_1, &out_config);
    nrfx_gpiote_out_set(BUTTON_1);

 so like out_config.hi_drive = high;

I am not finding the mechanism to change the high output drive within the firmware. I have a mechanism to change registers, brute force, with the nrfjprog tools but just seems so barbaric.

Parents Reply Children
No Data
Related