ITOP-IMX6 Development Board-minilinux-rs485 testing using documentation

Source: Internet
Author: User
Tags imx6

In the "can_485_module_v1.x" Hardware data compression package, provide a schematic diagram of the Cadence format and
Schematic diagram of PCB, AD format and PDF format.
The Linux driver for the 485 module is the "drivers/char/max485_ctl.c" file in the kernel directory, the default kernel
The driver is already included in the image.
The test routine provides a "Schindler itop-imx6-minilinux-rs485_v1.x" compression package.
1 Hardware Connection
The hardware tested in this document is two pieces of itop-imx6 Universal board. When users test their 485 devices, they can
One of the boards is replaced by its own 485 device.
As shown in. Development Board 1 and Development Board 2 is connected A to A, B, after the connection is completed as
Shown



Since the GPS and 485 modules re-use a set of serial ports, if the user buys the Development Board plan, both the GPS module
block, and 485 modules, you need to verify that the R38 and R40 resistors are welded on the baseplate when testing
The R141 and R143 resistors are removed, and the four resistors are 0 ohms.

After the hardware connection is complete, the software can be tested.

2 Software Testing
When the board is running a minimal system, copy the executable to the Development Board via TFTP, NFS, or USB stick mount
Directory.
After modifying the permissions, execute the "./test_485/dev/ttymxc2 0" command to receive the information. As shown in.


Execute the "./test_485/dev/ttymxc2 1" command on another board to send the message. As shown in.



At this point, the receiving end can receive the message. The details are as shown.



After exchanging the sender and receiver, the communication is still normal, as shown in.


The test is complete.

ITOP-IMX6 Development Board-minilinux-rs485 testing using documentation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.