RS485
Module | tty adress |
---|---|
TQMa7x | ttymxc6 |
TQMa6ULx | ttymxc5 |
TQMLS102xA | ttyLP0 |
TQMa6x | ttymxc3 |
TQMa335x | ttymxc3 |
Testing RS485 with Minicom on Linux
1. Set RS485 termination to ON
2. Connect RS485 cable between host and target receiver
3. Set up Baudrate and minicom serial device for Host and Target
- print out baudrate in linux with command
$stty -F /dev/<tty adress>
- to set custom baudrate use
$stty -F /dev/<tty adress> <baudrate>
4. Open mincom configuration with $minicom -s
, navigate to “Serial port setup” and set the following parameters:
- Serial Device
- Bps/Par/Bits
5. Save setup as dfl and exit to start the test
6. Start minicom on target receiver with $minicom -D /dev/<tty adress of target>
7. Test RS485 on Host with $echo <string> > /dev/<ttyadress of host>
8. Minicom will print out the string sent by the Host
Disclaimer
TQ-Systems GmbH provides the Board Support Packages (BSP) free of charge. The software included in the shipment has been configured individually for the starter kits. The software is only intended to evaluate the module. The use of the Board Support Packages (BSP) is only allowed within the scope of functionality described by TQ-Systems GmbH. TQ-Systems GmbH does not accept any liability for all further changes of the Board Support Package and for any damage resulting from its use.
TQ-Systems GmbH provides the Board Support Packages (BSP) free of charge. The software included in the shipment has been configured individually for the starter kits. The software is only intended to evaluate the module. The use of the Board Support Packages (BSP) is only allowed within the scope of functionality described by TQ-Systems GmbH. TQ-Systems GmbH does not accept any liability for all further changes of the Board Support Package and for any damage resulting from its use.