BioMax2 / KBio2-Online
Installation and Programming Manual
Page
32 of 91
8.1.1. Serial port configuration (UART0, UART1, UART2)
The serial ports have a different transmission capacity according to the programmed
mode:
• UART0 allows frames of up to 912 bytes in all cases
• UART1 allows frames of up to 912 bytes in transparent mode (configuration values
$88
to
$8C
), but only up to 48 bytes in the other modes.
• UART2 allows frames of up to 48 bytes, but up to 912 bytes when connected to he
Host. UART2 is a special port, only available at TTL levels (3.3V), intended for
connection to the
BiomaxPlus-DB
module, for Offline behaviour add-on.
The behaviour of the serial ports is defined from the
$1A, $1B
and
$1C
configuration
parameters:
Depending on the function associated to the port and baud rate, the values to be assigned
are detailed in the following table.
Table 2: RS-232 port configuration
Num
Description
Def.
$1A
CFG_Serial_
Port_Host
Determines the protocol and Baud Rate assigned
to the UART0. Refer to
$91
$1B
CFG_Serial_
Port_Reader
Determines the protocol and Baud Rate assigned
to the UART1. Refer to
$88
a
a. OEM electronic boards are configured at 9600 baud by default.
BioMax2
terminals (already
assembled) are configured at the optimum speed for the FIM, typically 38400 baud ($8A).
$1C
CFG_Serial_
Port_Aux
Determines the protocol and Baud Rate assigned
to the UART2. Refer to
$F0