v1.7 - Jun 2019
12 |
P a g e
host devices set up a virtual serial port so the data transfer is seamless. For the BlueFlyVario_TTL the
UART Tx and Rx pins are directly exposed.
The settings for the primary serial port are:
Baud Rate:
57600 (changed to 115200 in v11 hardware)
Data Bits:
8
Stop Bits:
1
Parity:
No Parity
Flow Control:
None
Voltage (for TTL):
Nominally 3.0 Volts
The setting uart2BRG is used for altering the baud rate of U2 (the main output). This should really
only be used with extreme care, but there are a few cases where it is the only way to communicate
with a device connected on uart1 (like a GPS) via the microcontroller.
The baud rate is calculated according to the formula:
Baud Rate = 2000000/(u1)
For the default value of 16 this results in a baud rate of about 115200. The integer setting which is
closest to the desired baud rate should be used.