31
4.
RS485
On AG411B, the RS485 communication port is /dev/ttyTHS4.
5.
CANBUS
# register CANBUS controller’s pin
$ sudo busybox devmem 0x0c303000 32 0x0000C400
$ sudo busybox devmem 0x0c303008 32 0x0000C458
$ sudo busybox devmem 0x0c303010 32 0x0000C400
$ sudo busybox devmem 0x0c303018 32 0x0000C458
# enable canbus
$ sudo modprobe can;
$ sudo modprobe can_raw;
$ sudo modprobe mttcan;
$ sudo ip link set can0 type can bitrate 500000 dbitrate 2000000 berr-reporting on
fd on restart-ms 100
$ sudo ip link set up
# send
$ cansend can0 “<message>”
#receive
$ candump can0
# disable canbus
Содержание AVerAI AG411
Страница 5: ...5 AVerMedia Global Offices ...
Страница 12: ...12 2 2 Block Diagram ...
Страница 13: ...13 2 3 Top View and Bottom View of AG411 carrier board ...
Страница 14: ...14 2 4 Front View and Rear View of AG411B BOXPC ...
Страница 34: ...34 7 2 Power Cord TW version US version ...
Страница 35: ...35 UK version EU version ...
Страница 36: ...36 JP version CN version ...
Страница 37: ...37 8 0 Dimension Drawings and Assembly Drawings ...
Страница 38: ...38 ...