12
3.2 CAN BUS Interface
adb command:
Set the bitrate ( baud rate ) before all operations
Example: Set the bitrate of the can0 interface to 125kbps:
# ip link set can0 up type can bitrate 125000
Quick test
Once the driver is installed and the bitrate is set, the CAN interface has to be started
like a standard net interface:
# ifconfig can0 up
and can be stopped like that:
# ifconfig can0 down
The socketCAN version can be retrieved this way:
# cat /proc/net/can/version
The socketCAN statistics can be retrieved this way:
# cat /proc/net/can/stats
3.3 GPIO Interface
1. GPIO interface as shown below,
Summary of Contents for PC-701 Pro
Page 1: ...Embedded Computer User Manual...
Page 15: ...15 3 2 3 3...