Hi, I have a problem with UART changing baudrate during the operation of Python program.
I used clean buster image, installed all libraries necessary to run it, everything is fine for the first minute of program running, Raspberry sends 4 UART messages with 9600 baud just fine (and receiving responses ok) and then the next message is corrupted, I checked with logic analyzer and found that start bit was 2x longer than standard 9600 message, I checked and Rpi4 sends valid message but with changed baudrate to 4800, exactly 2 times slower than what was initialized. The same program runs just fine on Rpi 3B+.
I'm using BLE at the same time, but it seems to work fine (I get valid MAC address and form connection).
I already tried 'apt-get update' and 'apt-get upgrade'.
Have anyone experienced something like that? What could be a possible reason of that kind of behaviour?
I must also add that it's not my Python code (ex co-worker's), and Rpi 3B+ is running Jessie.