Mini thermal printer and STM32 MCU with 1 SPI free - best way to connect?
I have 2 different mini thermal printers with RS-232 TTL interfaces. Different manufacturers, but I suspect the interface is identical or very similar. Both manufacturers state TTL interface.
On the other side I have STM32 MCU with 1 free SPI.
My limitation is I can't use UART. I don't have free UART pins on my board. I have only 1 SPI port free.
For what I've read - MAX3100 solves the SPI -> UART problem, MAX3232 solves CMOS 3V3 -> TTL 5V problem. But it's too expensive combined and I would have to add 2 chips that would make my device also more difficult to make.
Do you know a cheaper / simpler solution? Maybe a printer similar to Adafruit Mini Thermal Printer, but with SPI interface? A cheaper all-in-one interface chip? There is MAX3110E / MAX3111E, but I read it's discontinued / obsolete. What is currently commonly used?
BTW, I know there are printers with just every possible interfaces, but they are way too expensive, I'm looking for the cheapest possible printer, the cheapest possible way to connect it to my MCU.
