/
SolidSense N8 Compact RS485 and CAN bus

SolidSense N8 Compact RS485 and CAN bus

On SolidSense OOB image RS485 and CAN utilities are already built-in

Test CAN bus communication

1. Enable device can0 (for ex):

ip link set can0 up type can bitrate xxxxxx
  • (ex: 125000)

2. Bring the CAN interface up:

ifconfig can0 up

To discover your CAN bus interface name, please run ‘ ip link show ’.

3. To start testing the CanBUS, you have to install the can-utils package by running:

sudo apt-get install -y can-utils
  • For more information, please follow the  CAN-Utils, which are available for Debian/Ubuntu etc

4. Print all data received by CAN interface to “can_test” file (for ex):

5. Send data to the bus by executing (for ex):

6. Check received data by opening “can_test” file:

Test RS-485 communication

An example for testing RS485 communication:

1. Open a test file “rs485_test”

3. Print received data to “rs485_test” file:

 



 

 

 

 

 

 

Related content

Configuring and testing the Wirepas gateway software
Configuring and testing the Wirepas gateway software
More like this
Introduction to SolidSense Out-of-the-Box (OOB) software image
Introduction to SolidSense Out-of-the-Box (OOB) software image
More like this
SolidSense N8 Compact Quick Start Guide
SolidSense N8 Compact Quick Start Guide
Read with this
HummingBoard CBi RS485 and CAN bus
HummingBoard CBi RS485 and CAN bus
More like this
SolidSense N8 Compact - Yocto
SolidSense N8 Compact - Yocto
Read with this
SolidSense MQTT gateway
SolidSense MQTT gateway
More like this

SolidRun Ltd.