EVK-M9DR - User guide
UBX-21049360 - R01
Contents
Page 14 of 32
C1-Public
The numbers in the list below refer to Figure 3:
•
1:
Select the blue buttons in the middle to generate messages.
•
2:
Fill these fields for CONFIG SET messages.
•
3:
The generated message is displayed in the text field at the bottom. It is automatically copied to
the clipboard.
•
4:
Use the decode button to parse the contents of a message pasted in the text field (3).
☞
Ensure that the version number of the tool matches the MCU firmware version. Compatibility
between versions is not guaranteed.
5.3.1
Configuration parameters
The following fields are required to generate a CONFIG SET message:
•
CAN bitrate
: bitrate of the CAN bus
•
CAN message ID
: ID of the message containing the wanted data
•
Data length code
: number of bytes in the CAN message
•
Cycle time
: time between consecutive messages
•
Unit
: the unit of measurement for the data
•
Source
: rear-left, rear-right wheel, etc.
•
Startbit
: index of the LSB of the value field within the CAN message
•
Length
: the bit-length of the value field
•
Endianness
: Big-endian (Motorola) or Little-endian (Intel)
•
Sign
: value is signed or unsigned
•
Factor
: scaling factor representing the value of one bit in the selected unit
•
Offset
: positive offset which shifts the zero point of the raw value
•
Min/Forward:
o
Wheel tick and speed
–
sets the minimum value. Values smaller than this are discarded.
o
Direction
–
represents the value indicating forward movement
•
Max/Backward:
o
Wheel tick and speed
–
sets the maximum value. Values greater than this are discarded.
o
Direction
–
represents the value indicating backward movement
5.4
Configuration process
Follow these steps to configure the CAN interface:
5.4.1
Connections
1.
Connect the pin SEL_MCU_N to the GND pin.
2.
Connect a PC to the MCU via RS-232 cable or the front connector UART pins.
5.4.2
RealTerm
1.
Select the port associated with the UART connection in the
Port
tab.
2.
Set baud rate to 115200.
3.
Apply changes by selecting the
Change
button. See the figure below.
Содержание EVK-M9DR
Страница 26: ...EVK M9DR User guide UBX 21049360 R01 Appendix Page 26 of 32 C1 Public ...
Страница 27: ...EVK M9DR User guide UBX 21049360 R01 Appendix Page 27 of 32 C1 Public ...
Страница 28: ...EVK M9DR User guide UBX 21049360 R01 Appendix Page 28 of 32 C1 Public ...
Страница 29: ...EVK M9DR User guide UBX 21049360 R01 Appendix Page 29 of 32 C1 Public ...
Страница 30: ...EVK M9DR User guide UBX 21049360 R01 Appendix Page 30 of 32 C1 Public ...