Hi Alexander,
The cantest tool need to be selected in the package list from ltib tool:
-- Package Selection
Package List -->
[*] cantest
The easiest way to configured the CAN interface to run at 500Kbps is to select the below options in the kernel menuconfig:
In Ltib choose the option:
[*] Configure Kernel
then run the ltib by typing ./ltib
A new window (Kernel Menu) will open:
Choose:
[*] Networking Support --->
[*] CAN bus subsystem support --->
CAN Device Drivers --->
[*] CAN bit-timing calculation
WIth that option selected, the dirver will solve the br_* values by itself. The next step you need to perform is just to write the below command:
echo 500000 >> /sys/devices/platform/FlexCAN.0/bitrate
ifconfig can0 up
After executing the above command you can consult all the br_* parameters by:
cat /sys/devices/platform/FlexCAN.0/br_*
Hope this information helps.