2023-02-07 06:05 AM
2023-03-01 08:35 AM
2023-03-01 08:35 AM
2023-03-01 08:36 AM
2023-03-03 05:36 AM
You might want to look at the AN4655 - "Virtually increasing the number of serial communication peripherals in STM32 applications".
Obviously, there are numerous open source libraries written by people not affiliated with ST that serve this purpose and available on GitHub and elsewhere.