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

PSELRESETx Register configuration

We use soft device 132 on nRF52832. It looks like PSELRESET0/1 is being configured to pin 21 in Softdevice code, and we have our HW designed for the same.

How is it guaranteed that this configuration will not change in future as we don't have control on softdevice code. If our application configures PSELRESET0/1 prior to initializing softdevice will that be acceptable? is it guaranteed that the configuration done by user application will not be erased and re-configured by soft device?

Best Regards

Santosh Athuru

Parents
  • Hi Santosh

    You can set the PSELRESET registers before enabling the SoftDevice, yes. As I mentioned in the other case you simply have to set the CONFIG_GPIO_AS_PINRESET define in your project to have the PSELRESET registers configured correctly. 

    The SoftDevice will never access these registers, this is left up to the application. 

    Best regards
    Torbjørn

Reply
  • Hi Santosh

    You can set the PSELRESET registers before enabling the SoftDevice, yes. As I mentioned in the other case you simply have to set the CONFIG_GPIO_AS_PINRESET define in your project to have the PSELRESET registers configured correctly. 

    The SoftDevice will never access these registers, this is left up to the application. 

    Best regards
    Torbjørn

Children
No Data
Related