Is this normal behavior?
Yes. For any chip - not just nRF.
What can be done to avoid this
You need to ensure that signal lines are either disconnected, or put into a suitable state.
Hi,
Thanks for your response.
You need to ensure that signal lines are either disconnected
I am thinking to use a tri-state buffer IC to isolate the UART lines. The buffer IC is 74LVC126APW,118 (https://assets.nexperia.com/documents/data-sheet/74LVC126A.pdf). Will you suggest this?
put into a suitable state.
Can this be done in nrf52832 code? If yes, please share some references on this.
Thanks for the help.
Regards
Kamran
Hi,
The suitable state would be to set the pins that are connected to rx and tx as GPIO Input and disconnect the input buffer. You can do this by writing to the appropriate PIN_CNF[N] register.
regards
Jared
No - that won't work!
kamran_iosite is turning the nRF off - so it is the other device which needs to have its lines set to an appropriate state!
Setting them as inputs might work;
Setting them low might work;
Insufficient information - and not a Nordic issue.
It seems I was too quick on this one, I thought i read sleep instead of turning it OFF. Good that we have a community that reviews our answers ;)
Well, awneil is correct in pointing out that my previous suggestion won't work and that the focus should be on the other device. I would also like to add that a GPIO pin should never be connected to a voltage that is VDD + 0.3 V.