Open EastEast opened 3 years ago
On a raspberry pi4 this works. I am able to use uart communication and bluetooth enabled.
It is possible to enable the bluetooth and use the UART port located at /dev/ttyS0 instead of /dev/ttyAMA0 for the UPSPACK, by fixing the video core frequency in /boot/config.txt.
enable_uart=1
core_freq=300
The reason is that the baudrate of the raspi's mini UART module is affected by the VPU core frequency. reference
The serial interface is not required in normal operation (shutdown_check.py), Only for firmware updates and demo programs.
I have both on rpi4 by adding another uart (only certain models of pi have these)
let me know if you need help with this config
according to the README
we need to edit /boot/config.txt with
enable_uart=1
dtoverlay=disable-bt
the second command will disable the bluetooth
how to use UPS_GUI_demo.py with bluetooth on?