Disable UART TX voltage by default in Zephyr

We have a problem where a display running on 5V with an UART on 3.3V will self-bias through the UART TX pin when the 5V supply is switched on.

How do you make zephyr not init UART TX at boot? And then how do you init it when you need it?

Thanks.

Parents Reply
  • Indeed, I think you are misunderstanding what I'm asking. This is an issue with voltage on the UART pin from the MCU to the Display (when the display is switched off).

    Using zephyr, the UART TX pin is automatically init'ed and thus puts 3.3V out of the MCU. How do I avoid that? I tried with zephyr,deferred-init in the devicetree but says it does not exist in nordic,nrf-uarte.

    So, how do I do a deferred init of the UART?

Children
Related