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

Floating UART fails the device

I have a custom nrf52832 board. I have changed the UART TX and RX pins to P0.3 and P0.4 respectively. If the pins are floating, then nrf52832 stops advertising,If something connected then there is no issue. Do I need to enable any pull up for these pins to work it porperly? Please help me on this issue.

Parents
  • As @Turbo J said, pull-ups are worth a shot. It might not be necessary on the TX pin though. The reason why your advertising stops is probably because your application hits an error handler with a while(1) loop when the floating pins on the UART generates an error due to noise on the RX pin. If you don't use the UART you can also trace down this error check in your code and remove it.

Reply
  • As @Turbo J said, pull-ups are worth a shot. It might not be necessary on the TX pin though. The reason why your advertising stops is probably because your application hits an error handler with a while(1) loop when the floating pins on the UART generates an error due to noise on the RX pin. If you don't use the UART you can also trace down this error check in your code and remove it.

Children
No Data
Related