I'm currently building a remote controlled motor driven robot that is taking USB remote input, and output said input through the UART TX pin to a Texas Instruments MSP430 launchpad, that is connected through its UART RX pin. I've already programmed a script that translates the USB remote to output characters such as "A" and "B", and I want to transmit these characters through UART so that my C program on the MSP430 can receive the characters to execute the corresponding function. I've done some research on here and found a command line to add to my config.txt file on my microSD card that would allow the Pi python console to output directly from the TX pin. The code is below:
dtoverlay=pi3-disable-bt
My concern is if the UART connection on both devices are encoded the same way. The MSP430 has the ability to recieve various encoding like UTF-8 or ISO8859. I can't seem to find what python on the pi encodes to. Any insight would be greatly appreciated. Also, if you don't think the line of code that went into my config.txt file won't work to transmit from the TX GPIO, any insight on that would be helpful too. Thanks!