Hi,
I am developing a product based on a nRF52833-QDAA chip, we use the two uarts to transmit data to another MCU and AT commands to a LTE-M modem.
We use NCS 1.7.0 as software development platform.
My problem is that both of the two UARTEs stop working when their TX pins are analog input able pins in the device tree, even if we don't use the pin as analog.
For example, the following instanciation of the UARTE works properly
&uart0 { compatible = "nordic,nrf-uarte"; status = "okay"; current-speed = <115200>; /* Using P0.15 pin as TX works, P0.17, P0.11 and P1.09 all work */ tx-pin = <15>;};But this one does not work
&uart0 { compatible = "nordic,nrf-uarte"; status = "okay"; current-speed = <115200>; /* Using P0.04 pin as TX does not work, same with P0.05 and P0.28, none of them works. */ tx-pin = <4>;};I tried other pins, and I have observed that any time I try to use an analog-able pin, the UARTE stops working.
All other configurations and source code are the same between tests, I only change the pin used by the UARTE.
I made a small test software where the UARTE is the only enabled peripheral in my board's dts file, and the app is just a main function with a while(1) loop sending on the serial link with a printk() every 100 ms.
What could possibly be the cause of this behaviour ? I reviewed the source code, SoC and board dts files, the nRF52833 datasheet, but have been unable to find a reason for the UARTE not working on any analog input able pin.