hello.
MCU: STM32F103C8T6
I am trying to do software serial through the board above.
By any chance, can you let me know what pins are available, or is it ok to proceed with random pins?
[STM32F103C8T6] Maple Mini software serial communication
Re: [STM32F103C8T6] Maple Mini software serial communication
After searching, it seems that there is no 'Software Serial' library.
Is that right?
Is that right?
Re: [STM32F103C8T6] Maple Mini software serial communication
It is a builtin library provided within the core
https://github.com/stm32duino/Arduino_C ... wareSerial
Anyway I advise to use real uart.
https://github.com/stm32duino/Arduino_C ... wareSerial
Anyway I advise to use real uart.
Re: [STM32F103C8T6] Maple Mini software serial communication
Agree with @fpiSTM ,
one might as well use Hardware serial
https://github.com/stm32duino/Arduino_C ... wareserial
which works well, and STM32s has pretty good hardware UARTs.
some 3d printers literally use that and feed an entire stream (megabytes) of the model printing gcode and printer controls from octoprint, i.e. those uarts are used in real world use cases.
and I actually use the HardwareSerial as a usb-uart dongle for a single board computer serial system console !
https://forum.armbian.com/topic/29202-o ... ent-169524
one might as well use Hardware serial
https://github.com/stm32duino/Arduino_C ... wareserial
which works well, and STM32s has pretty good hardware UARTs.
some 3d printers literally use that and feed an entire stream (megabytes) of the model printing gcode and printer controls from octoprint, i.e. those uarts are used in real world use cases.
and I actually use the HardwareSerial as a usb-uart dongle for a single board computer serial system console !
https://forum.armbian.com/topic/29202-o ... ent-169524