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

Can I use 2 GPIO pins to simulate another UART?

Hello everyone~

I need to use 2 UARTs to connect to different chips. If I use nRF82832, can I use 2 GPIO pins to simulate another UART? I just use it for one byte or two bytes data recieve.

If possible, is there an example code?

Thanks!

Parents
  • you can if you want but you know it's not going to work bit-banging a UART if the softdevice is interrupting unless you are running a really, really slow baudrate (really slow) which can tolerate the random timings.

    just search 'bitbang UART' from the search box and you'll see all the people who've tried and failed this in the past.

Reply
  • you can if you want but you know it's not going to work bit-banging a UART if the softdevice is interrupting unless you are running a really, really slow baudrate (really slow) which can tolerate the random timings.

    just search 'bitbang UART' from the search box and you'll see all the people who've tried and failed this in the past.

Children
Related