BioMax2 / KBio2-Online
Installation and Programming Manual
Page
29 of 91
7.3.4. Communication via KSP UDP
When using protocol KSP-UDP (port 6000 on
BioMax2/KBio2
), everything explained in
the previous section still applies:
• Parameters
CFG_Serial_Port_Host
or
CFG_Serial_Port_Reader
must be properly
configured (
$98
or
$99
according to the baud rate for Bio-OCX,
$20
,
$21
o
$22
according to the baud rate for KRD13Mv2).
•
may be used for communication.
However, a more convenient method exists:
• Our
BioMax2/KBio2
board has a KSP address (see
Application_ID between 11 and 14, plus Node_ID between 1 and 254. For
instance, 14.4 (
$0E.$04
in Hexadecimal)
• In such case, the peripheral board connected to UART0 will have a KSP address
incremented in 64 units (
$40
) as its Application_ID. For instance, 78.4
(
$4E.$04
).
• And the peripheral board connected to UART1 will have a KSP address
incremented in 128 units (
$80
) as its Application_ID. For instance, 142.4
(
$8E.$04
).
That way, we may operate with up to 3 different electronic boards, through KSP (but
only the main one will appear on