2023-05-30 03:39 AM
Hi, I have STM32WB55.
It has 1 UART and 1 low-power Uart (lpuart). And I have SDI12 sensor.
I have successfully read whit lpuart SDI12 protocol sensor.
But now I want to use ZigBee to send data that I read from the sensor to the Zigbee coordinator.
I can see Zigbee uses lpuart, as there is no UART left, is it possible to use on STM32WB55 Nucleo board Zigbee and sensor whit SDI12 protocol?
Is there something like SoftwareSerial for Arduino?
Thanks.
2023-06-04 09:44 PM
You can do TX with timer output compare at low bit rate.
If the uart or usart have multiple RX and TX pin alternate functions, then if you can time multiplex, you can dynamically switch the pins like a multiplexer. This only if you are the TX initiator in the protocol.