nRF52833 GPIO behavior during pin reset

Hi guys

Could you tell me the expected pin states while the nRF52833 is kept in reset with the pin reset?

For the nRF52840 i have found this devzone entry:

It basically states, that the pins will be configured as input disconnect.

As experienced with the nRF52832, the pins seem to be all configured as input disconnected while the pin reset is asserted.
Thus, we would have expected the same behavior on the nRF52833.

Yet, in this devzone entry of the nRF52840, following is stated:

"When reset pin is pushed the pin behavior is undefined, it may be output or floating. It is not much that can be done about this other than ensure that the pin reset is pushed for a short period of time as possible, for instance >0.2us is sufficient to ensure a hardware reset."

Having pins randomly configured as output and driving unknown circuitry seems critical.

I haven't checked the behavior on all pins but the configured UARTE TX pin is driven low for as long as the pin reset is asserted.

Do pins configured for certain peripherals lead to different pin states during a reset?

I hope you can help me clarify this.

Thank you in advance!

Regards,
Pascal

Parents
  • Hi,

    There is likely some marginal differences to when the reset signal reaches the different modules inside the chip. Because of this it's not possible to guarantee the exact behavior. It will likely depend on what is connected to the pin. After reset the pin will have the default state (input and disconnected - PIN_CNF[n]).

  • Hi,

    Thank you for the short explanation.

    I did a few more tests with various peripherals and pins. Overall, the pins are either configured as input disconnected or output low. The output low configuration seems to occur, when a pin is used by an active peripheral, that uses the pin in output configuration, during the time of the pin reset. A softreset does not seem to cause this behavior.

    In the table below I have added an incomplete list of peripherals that cause this behavior:

    Peripheral Pin configuration
    UARTE TXD
    SPIM MOSI, SCK
    SPIS MISO
    TWIM SDA, SCL
    TWIS SDA, SCL
    GPIOTE PSEL (any gpio)
    PWM PSEL.OUT[x] (any gpio, during active modulation)

    Is there a reason why this occurs on the nRF52833 but not on the nRF52832?

    From your response I don't think it is possible to solve this in firmware. Any chance this will be fixed in a future silicon revision?

    Is it possible to document this behavior? I have not found any information regarding the GPIO behavior during a pin reset.

  • Hi,
    I am checking internally on what we might have on this. Will get back to you.

Reply Children
Related