Hi,
I'm doing some tests with the Pyboard and a RS485 driver chip. The chip is connected to one of the UARTs and has an 'enable' pin which is connected to an IO. The pin needs to be raised before the UART sends and then lowered after. Currently i'm doing this in software and it works, but I'm hoping to set up a REPL over RS485 and so I won't be able to manually raise and lower the 'enable' pin before the REPL sends data over the UART (unless there is some way to create a 'software repl' that I am missing?).
I wondered if it was possible to change the source code in the STM32 library to automatically do this for all UART writes on this UART? I had a look in uart.c but it's not totally clear to me how it would work. Any help would be great!
Thanks,
Marc