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

Software uart for nrf52832

I need second and maybe even third uart modules (for rs232). Is there any sample code like in Arduino (Software uart)?

Parents
  • if the only thing you're using Bluetooth for is OTA update and you're not using Bluetooth in your application, then you may well be able to bitbang a UART. You turn BLE on only for OTA (and don't run peripherals) and when you're running in the 'normal' state, you don't even enable the softdevice.

    So one question is why you need more than one UART. What are you interfacing to? UART interface tend to be used just with a USB/UART chip for a simple console out for debugging, most other peripherals people generally want to connect to have other, better, interfaces.

Reply
  • if the only thing you're using Bluetooth for is OTA update and you're not using Bluetooth in your application, then you may well be able to bitbang a UART. You turn BLE on only for OTA (and don't run peripherals) and when you're running in the 'normal' state, you don't even enable the softdevice.

    So one question is why you need more than one UART. What are you interfacing to? UART interface tend to be used just with a USB/UART chip for a simple console out for debugging, most other peripherals people generally want to connect to have other, better, interfaces.

Children
No Data
Related