[STM32F103C8T6] Maple Mini software serial communication

Post here first, or if you can't find a relevant section!
Post Reply
myksj1105
Posts: 54
Joined: Sun Jun 18, 2023 11:35 am

[STM32F103C8T6] Maple Mini software serial communication

Post by myksj1105 »

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?
myksj1105
Posts: 54
Joined: Sun Jun 18, 2023 11:35 am

Re: [STM32F103C8T6] Maple Mini software serial communication

Post by myksj1105 »

After searching, it seems that there is no 'Software Serial' library.

Is that right?
User avatar
fpiSTM
Posts: 1738
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: [STM32F103C8T6] Maple Mini software serial communication

Post by fpiSTM »

It is a builtin library provided within the core
https://github.com/stm32duino/Arduino_C ... wareSerial

Anyway I advise to use real uart.
ag123
Posts: 1655
Joined: Thu Dec 19, 2019 5:30 am
Answers: 24

Re: [STM32F103C8T6] Maple Mini software serial communication

Post by ag123 »

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
Post Reply

Return to “General discussion”