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

Is there an nRF5 Software Serial library akin to the one for Arduino?

The SoftwareSerial library allows GPIO pins to be used as TTL serial pins by bit banging.

The nRF5 suffers from the same problem that the Arduinos have. 1 UART.

Does the nRF5 have a similar library to make up for this deficiency?

Parents
  • Hi

    Unfortunately there are no UART bit banging libraries. I assume you want to have several UART devices connected to your nRF5? Then what you can do, if your application allows it, is to reconfigure the UART module and pins whenever you switch between devices. I.e. connect your UART devices to different sets of pins on the nRF5 and then chose which pins you want the UART module to use on-the-fly. The limitation of this is of course that you can only communicate with one device at a time.

Reply
  • Hi

    Unfortunately there are no UART bit banging libraries. I assume you want to have several UART devices connected to your nRF5? Then what you can do, if your application allows it, is to reconfigure the UART module and pins whenever you switch between devices. I.e. connect your UART devices to different sets of pins on the nRF5 and then chose which pins you want the UART module to use on-the-fly. The limitation of this is of course that you can only communicate with one device at a time.

Children
No Data
Related