Data Sheet
© RFbeam Microwave GmbH
|
Schuppisstrasse 7
|
CH-9016 St. Gallen
|
www.rfbeam.ch
|
K-LD7
|
data sheet 12/2020 - Revision B
Page 19 / 23
Figure 17: Example INIT command with 115200 baud
Figure 18: Example GNFD command with TDAT message
Figure 19: Example GBYE message
Header: INIT Length: 4Byte Payload 4Byte: value 0 = 115200 baud
0x49 0x4E 0x49 0x54 0x04 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Header: RESP Length: 1Byte Payload 1Byte: value 0 = OK
0x52 0x45 0x53 0x50 0x01 0x00 0x00 0x00 0x00
Header: GNFD Length: 4Byte Payload 4Byte: value 8 = only TDAT enabled
0x47 0x4E 0x46 0x44 0x04 0x00 0x00 0x00 0x08 0x00 0x00 0x00
Header: RESP Length: 1Byte Payload 1Byte: value 0 = OK
0x52 0x45 0x53 0x50 0x01 0x00 0x00 0x00 0x00
Header: TDAT Length: 8Byte Payload 8Byte: TDAT structure see example below
0x54 0x44 0x41 0x54 0x08 0x00 0x00 0x00 0x50 0x00 0x97 0xFF 0x2F 0x07 0x15 0x18
Header: GBYE Length: 0Byte
0x49 0x4E 0x49 0x54 0x00 0x00 0x00 0x00
Header: RESP Length: 1Byte Payload 1Byte: value 0 = OK
0x52 0x45 0x53 0x50 0x01 0x00 0x00 0x00 0x00
host to radar
host to radar
host to radar
radar to host
radar to host
radar to host
radar to host
Description TDAT payload LSB first Value Datatype Conversion Result
Distance [cm] 0x50 0x00 0x0050 UINT16 - 80cm
Speed [km/h × 100] 0x97 0xFF 0xFF97 INT16 /100 -1.05km/h
Angle [deg × 100] 0x2F 0x07 0x072F INT16 /100 18.39 deg
Magnitude of target 0x15 0x18 0x1815 UINT16 - 6165
Table 15: Example TDAT structure conversion
Communication example