Download Print this page
Hide thumbs Also See for QY-IMX6S:

Advertisement

Quick Links

QY-IMX6S Linux Function And Test Manual
QIYANG INTELLIGENT TECHNOLOGY CO., LTD
Any question, please send E-mail
Sales E-mail
:trade@qiyangtech.com sales@qiyangtech.com
Website
:http://www.qiytech.com
Copyright
©2012 Qiyangtech
QY-IMX6S Linux Function And Test Manual
Copyright Reserved
:supports@qiyangtech.com
Version NO.: 1.0
2017.4
Page 1 of 72

Advertisement

loading

Summary of Contents for Qiyang QY-IMX6S

  • Page 1 QY-IMX6S Linux Function And Test Manual QY-IMX6S Linux Function And Test Manual Version NO.: 1.0 2017.4 QIYANG INTELLIGENT TECHNOLOGY CO., LTD Copyright Reserved Any question, please send E-mail :supports@qiyangtech.com Page 1 of 72 Sales E-mail :trade@qiyangtech.com sales@qiyangtech.com Website :http://www.qiytech.com Copyright...
  • Page 2 QY-IMX6S Linux Function And Test Manual Catalogue Version Illustration: .......................... 3 Ⅰ. Preparation ..........................5 Ⅱ. Mainboard Test ..........................6 2.1 Buzzer Test .......................... 6 2.2 RTC Test ..........................8 2.3. Watchdog Test ........................12 2.4 GPIO Test .......................... 14 2.5.Serial Port Test ........................
  • Page 3 QY-IMX6S Linux Function And Test Manual Version Illustration: Vers Hardware Platform Description Date Revisor QY-IMX6S-V1.2 Initial Published 2017-04-25 Hech Any question, please send E-mail :supports@qiyangtech.com Page 3 of 72 Sales E-mail :trade@qiyangtech.com sales@qiyangtech.com Website :http://www.qiytech.com Copyright ©2012 Qiyangtech...
  • Page 4 QY-IMX6S Linux Function And Test Manual Preface This Manual mainly introduce different interface function and testing method. Please read carefully before using: QY-IMX6S Hardware Manual .pdf & QY-IMX6S Linux User Manual. pdf Any question, please send E-mail :supports@qiyangtech.com Page 4 of 72 Sales E-mail :trade@qiyangtech.com sales@qiyangtech.com...
  • Page 5 QY-IMX6S Linux Function And Test Manual Ⅰ. Preparation Before testing, please read QY-IMX6S Linux User Manual. pdf, and connect to the board according to this manual. Power on mainboard, after system starts, then input root user to enter into file system of the board, as the following picture shown: Mainboard test program in [/usr/test] directory, please switch to this directory, the following testing operations will be done in this directory.
  • Page 6: Buzzer Test

    QY-IMX6S Linux Function And Test Manual Ⅱ. Mainboard Test 2.1 Buzzer Test QY-IMX6S mainboard use [GPIO 6_31] to control the buzzer on the board. When set to low level, buzzer does not work; when set to high level, buzzer will work.
  • Page 7 Debug UART prints information: Please check the following items: Whether [/dev] directory has [qiyang_buzzer] device node or not. ① , ② Kernel configuration select <*> BUZZER FOR QIYANG IMX6 BOARD Any question, please send E-mail :supports@qiyangtech.com Page 7 of 72 Sales E-mail :trade@qiyangtech.com sales@qiyangtech.com...
  • Page 8 QY-IMX6S Linux Function And Test Manual ③ ,Device tree file enable [qiyang_buzzer]node 2.2 RTC Test QY-IMX6S mainboard adopts I2C2 connect DS1338 Chip on the base board as external hardware clock. Please confirm that you put on the battery before testing RTC.
  • Page 9 QY-IMX6S Linux Function And Test Manual date 022710412014 /*month day hour minute year*/ 3.Use [hwclcok] command to write system time into hardware time chip. [ hwclock –w] 4.Check system and hardware clock by [date] command and [hwclock ]command. 5.After setting successfully, execute [rtc_test] test program.
  • Page 10 QY-IMX6S Linux Function And Test Manual After the program prints 10 of the RTC time, then exit the program. Or you can use [Ctrl+c] to exit the program early. RTC works accurately, no losing seconds. 6.Powering off, then power on to check system and hardware clock by using [date] and [hwclock] command, to check time is saved or not and whether works normally.
  • Page 11 QY-IMX6S Linux Function And Test Manual Test Code: CD/Source Code/Test Code/ rtc_test/rtc_test.c Driver Code: ds1338 Driver:linux-3.0.101/drivers/rtc/rtc-ds1307.c i2c Driver:linux-3.0.101/drivers/i2c/busses/i2c-imx.c The Kernel Options: I2c2: Device Drivers ---> I2C support ---> Enable compatibility bits for old user-space < *> I2C device interface < > I2C bus multiplexing support Autoselect pertinent helper modules I2C Hardware Bus support --->...
  • Page 12: Watchdog Test

    QY-IMX6S Linux Function And Test Manual /dev/rtcN (character devices) RTC UIE emulation on dev interface <*> Dallas/Maxim DS1307/37/38/39/40, ST M41T00, EPSON RX-8025 FAQ: Phenomenon: Time can not be saved, time travel error is huge, can not check hardware clock Debug UART print the following information:...
  • Page 13: Device Drivers

    QY-IMX6S Linux Function And Test Manual the system will not reboot. Press [Ctrl+C] to exit the program. ./watchdog_feed_test /dev/qy_watchdog 2.Boot Watchdog, but do not execute ‘feeding dog’ operations, the system reboots after1.6 seconds. ./watchdog_notfeed_test /dev/qy_watchdog Device Node: /dev/qy_watchdog Test Code:...
  • Page 14 QY-IMX6S Linux Function And Test Manual 2.4 GPIO Test This test focus on the following 16-ch GPIO pin definition: J5[GPIO2_0,GPIO2_1, ,GPIO2-2,GPIO2-3,GPIO2-4,GPIO2_5,GPIO 2_6,GPIO2_7]. J31[ GPIO2_16,GPIO2_17,GPIO2_18,GPIO2_19,GPIO2_20,GPIO2 _21,GPIO2_22,GPIO2_23]. Test Principle: [Gpio_test 0] test the situation when gpio does not have external connection, set all pin to low level or high level, through external measure gpio actual level to confirm gpio is normal or not.
  • Page 15 QY-IMX6S Linux Function And Test Manual Illustration: [gpio_test <device> 0] set gpio high level and low level [gpio_test <device> 1] obtain gpio level 2. J5 and J31 GPIO is without external signal, execute ./gpio_test /dev/qiyang_imx6_gpio 0 As the above picture shown, set each [GPIO] to low level. Use multimeter to measure corresponding GPIO’s actual level value to...
  • Page 16 QY-IMX6S Linux Function And Test Manual Then press [Enter], it hints test [OK]. 3.External connect 3.3V to the pin (Internal Pin is weak pull-up) ./gpio_test /dev/qiyang_imx6_gpio 1 Any question, please send E-mail :supports@qiyangtech.com Page 16 of 72 Sales E-mail :trade@qiyangtech.com sales@qiyangtech.com Website :http://www.qiytech.com...
  • Page 17 QY-IMX6S Linux Function And Test Manual As above picture shown, obtaining each gpio level status, users can change the actual connected gpio signal to confirm gpio is normal or not. Device Node: /dev/qiyang_imx6_gpio Test Code: CD/Test Code/gpio_test/gpio_test.c Driver Code: linux-3.0.101/drivers/misc/qy_imx6_gpio.c :...
  • Page 18: Serial Port Test

    QY-IMX6S Linux Function And Test Manual QY-IMX6S-v1.x Gpio Start Testing... Please check the following items: Whether there is [/dev/qiyang_imx6_gpio node] in [/dev directory] ① Whether the kernel configuration select [ <*> IMX6 GPIO TEST ② FOR QIYANG BOARD]. 2.5. Serial Port Test There are 5-ch serial ports: J6 is as the debug UART.
  • Page 19 QY-IMX6S Linux Function And Test Manual COM4 J2(Rx、Tx、GND TO Pin2、Pin4、Pin6) /dev/ttymxc4 Test Principle: Test program realizes that 1 serial port send character data “ !”every other 1s, X is actual testing device node, /dev/ttymxcx" test string! through multithreading way to block reading serial ports data and then print.
  • Page 20 QY-IMX6S Linux Function And Test Manual Input [telent 192.168.1.71] in running Windows. Input username [root] and password , users can access console, enter [/usr/test] test directory. Any question, please send E-mail :supports@qiyangtech.com Page 20 of 72 Sales E-mail :trade@qiyangtech.com sales@qiyangtech.com Website :http://www.qiytech.com...
  • Page 21 QY-IMX6S Linux Function And Test Manual According to the relation tablet between serial port and hardware, select the serial port which need to be tested. Connect the serial port to UART on PC through special UART cable. Open the CD/serial debugging tool in PC.
  • Page 22 QY-IMX6S Linux Function And Test Manual If it hints: No such serial port It means the COM on PC be occupied by terminal, close the occupied terminal, then use serial debugging tool. Set UART attribute, serial ports correspond to COM number on PC, Any question, please send E-mail :supports@qiyangtech.com...
  • Page 23 QY-IMX6S Linux Function And Test Manual here it is COM3, Baud Rate is [115200], Data Bit [ 8-bit], Stop Bit [1], Parity Bit [NONE]. After connected and set the UART, start to test. Testing COM1,COM2,COM3,COM4, here ,we take example on COM1.
  • Page 24 QY-IMX6S Linux Function And Test Manual Click [Send Manually] on serial debugging assistant, [telnet] shows the received date. Telnet and serial debugging assistant both can receive data and no errors. It means the UART function is normal. After finishing test on COM1, use [Ctrl+C] to exit the program, Any question, please send E-mail :supports@qiyangtech.com...
  • Page 25 QY-IMX6S Linux Function And Test Manual continue to test other UARTs. Device Node: /dev/ttymxc1 /dev/ttymxc2 /dev/ttymxc3 /dev/ttymxc4 Test Code: /CD/Test Code/serial _test/rs232_test.c Driver Code: linux-3.0.101/drivers/tty/serial/imx. c The kernel configurations: Device Drivers ---> Character devices ---> Serial drivers ---> [*] IMX serial port support FAQ:...
  • Page 26 QY-IMX6S Linux Function And Test Manual or not ? Serial ports hardware and testing program node is corresponded ② . or not ? Whether [ttymxc1,ttymxc2,ttymxc3,ttymxc4] node be set ③ . correctly in [/dev] directory ? The kernel configuration is selected or not ? ⑤.
  • Page 27 QY-IMX6S Linux Function And Test Manual spi half duplex write operation and full duplex write operation, you can refer to this source code. Relation Chart: Chipsets are corresponding to the device node as below: Chipset Device Node Hardware Location NCS0 /dev/spidev4.0...
  • Page 28 QY-IMX6S Linux Function And Test Manual [spidev_test /dev/spidev4.2] tests NCS2 chip select channel 2.Here, we take example of NCS0 chip select as an example to introduce, other chips select’s test method is same. /spidev_test /dev/spidev4.0 3. Short connect [SPI5_MOSI (Pin4 on J5 )] and [SPI5_MISO (Pin3 on J5)] ./spidev_test/dev/spidev4.0...
  • Page 29 QY-IMX6S Linux Function And Test Manual Device Node: SPI5_NCS0:/dev/spidev4.0 SPI5_NCS1:/dev/spidev4.1 SPI5_NCS2:/dev/spidev4.2 Test Code: CD/Test Source Code/ spi _test/spidev_test.c Driver Code: linux-3.0.101/drivers/spi/spidev.c The kernel Options: Device Drivers ---> SPI support ---> <*> User mode SPI device driver support FAQ: Debug UART prints information:...
  • Page 30 Whether application program fits opposite device time sequence ② requirements ? 2.7. CAN Test QY-IMX6S mainboard boots 2-ch CAN, 1-ch is CAN driver output, 1-ch is TTL output, test program is for CAN driver outputting CAN signal, it means testing CAN0. Test Principle: Any question, please send E-mail :supports@qiyangtech.com...
  • Page 31 QY-IMX6S Linux Function And Test Manual The file system provides the method to test CAN, use CAN tool to test. Test Process & Result 1.Need to use 2-ch CAN to test, connect the current CAN to another CAN interface. You could open two IMX6 boards, then connect the two UART terminal to PC .
  • Page 32 QY-IMX6S Linux Function And Test Manual Illustration: [can_test <device> 0] set CAN as the receiving data. ① [can_test <device>] set CAN as the sending data. ② 4.Here, take the CAN on the Board 1 as the receiving terminal, input command on UART terminal.
  • Page 33 QY-IMX6S Linux Function And Test Manual The debug UART terminal on the Board 1 received the CAN data from the Board 2. 6.Then exchange to test, take the CAN on the Board 2 as the receiving terminal, take the CAN on the Board 1as the transmitting terminal. The test method is same.
  • Page 34 QY-IMX6S Linux Function And Test Manual The Kernel Options: [*] Networking support ---> <*> CAN bus subsystem support ---> <*> Raw CAN Protocol (raw access with CAN-ID filtering) <*> Broadcast Manager CAN Protocol (with content filtering) CAN Device Drivers --->...
  • Page 35 QY-IMX6S Linux Function And Test Manual 2. If using [ifconfig can0 up] is failed, please check whether the kernel configuration enables [can0]. 3.If transmitting is successfully, but the opposite end do not receive. Please check whether the two ends [bitrate] is right.
  • Page 36 QY-IMX6S Linux Function And Test Manual Play audio & video through [gplay] command. Please ensure the LCD and VGA be connected well, and the earphone or amplifier be connected to J33 well. Test Process & Test Result: 1、Execute below command to play: gplay bbb_short_1080p.avi...
  • Page 37 QY-IMX6S Linux Function And Test Manual 2、 There is audio test file [shinian.mp3] in current directory [/usr/test], you can play this audio file directly to test. gplay shinian.mp3 You can hear music from audio output interface. [gplay] supports [mp2、mp3、m4a、aac、wav、ogg、amr] audio format.
  • Page 38 QY-IMX6S Linux Function And Test Manual Play Stop Seek Pause when playing, play when paused Volume Switch to mute or not > Play next file < Play previous file Switch to repeated mode or not Set full screen or not...
  • Page 39 QY-IMX6S Linux Function And Test Manual eXit Here, we take example by adjusting the volume: Execute [gplay bbb_short_1080p.avi] or [gplay shinian.mp3] command. Input [v], it hints [Set volume[0-1.0]], range [0~1.0], here, we input [0.3], you can hear the sound is light.
  • Page 40 QY-IMX6S Linux Function And Test Manual It generates [test.wav] in terminal, then use the below command to play the previous record. gplay test.wav Test Code: /Test Code/video bbb_short_1080p.avi Tool:gplay FAQ: If there is issues on display part, please refer to the LCD Charter ①...
  • Page 41: Default Setting

    QY-IMX6S Linux Function And Test Manual network cable to connect computer and Router (Switcher), ensure it could access the network. 2.Set board network Configure automatically, input: udhcpc -i eth0 Configure manually, input: (Default setting) ifconfig eth0 192.168.1.71 echo nameserver 114.114.114.114 > /etc/resolv.conf route add default gw 192.168.1.1 dev eth0...
  • Page 42 QY-IMX6S Linux Function And Test Manual FAQ: If there is issue, please check the below items: ① Check whether Network LAN is working. ② Check whether the router is working. 2.10 USB Test Supports 3 formats:fat32,exFAT,NTFS There are 5-ch USB on QY-I.MX6S mainboard: 1-ch (J10) is as device , used to download the firmware ①...
  • Page 43 QY-IMX6S Linux Function And Test Manual Test Principle: USB Host supports hot plug, system will recognize and prints USB Flash Disk after inserting the USB Flash Disk. After recognition, it generates device node [/dev/sda] and partition node [/dev/sda1] in [/dev] directory. (If there are several partitions, then the number will be increased.)
  • Page 44 QY-IMX6S Linux Function And Test Manual 1. Check USB Flash Disk through [fdisk] command: fdisk -l /dev/sda Here ,the USB Flash Disk has been mounted into [/media/sda4] directory. 1、 Check contents in USB Flash Disk. ls /media/sda4 2、 Test USB Flash Disk writing and reading through creating ,copying ,deleting files.
  • Page 45 QY-IMX6S Linux Function And Test Manual First Partition in USB Flash Disk:[ /dev/sda1] If there are several partitions, the partition [n] corresponds to the [/dev/sdan]. Test Code: Test Command:[fdisk] Test Code: linux-3.0.101 /drivers/usb/host/ehci-hcd.c The Kernel Options: Device Drivers ---> USB support --->...
  • Page 46: Sd Card Test

    QY-IMX6S Linux Function And Test Manual 2.11.SD Card Test Supports 3 formats: fat32,exFAT,NTFS QY-IMX6S provide 1-ch SD Card interface (J14) for users to use. Test Principle: On board SD card interface support hot plug, after inserting SD card, system will recognize SD card and print the relative information of SD Card.
  • Page 47 QY-IMX6S Linux Function And Test Manual As above picture shows, it will show some SD card basic information, here the device node is [mmcblk1], partition is [pl]. 2.You can also use [fdisk] command to check SD information. [fdisk -1 /dev/mmcblk1] Here automatically mount SD Card to [/media/mmcblk0p] directory.
  • Page 48 QY-IMX6S Linux Function And Test Manual Test Code: Test Tool: fdisk Driver Code: linux-3.0.101/drivers/mmc/host/sdhci-esdhc-imx..c The Kernel Options: Device Drivers ---> <*> MMC/SD/SDIO card support ---> [*] Assume MMC/SD cards are non-removable(DANGEROUS) <*> MMC block device driver (8) Number of minors per block device [*] Use bounce buffer for simple hosts <*>...
  • Page 49 QY-IMX6S Linux Function And Test Manual connector on J28 12V and 5V 2. Power on , use command to check hardware disk’s content: fdisk-l Here, we mount the hardware disk to [/media/sda1]directory, user can check the hardware’s content directly. ls /media/sda1 User can test SD card’s read an write through creating ,coping,...
  • Page 50 QY-IMX6S Linux Function And Test Manual deleting files. 3. Hardware Disk Read and Write Test hdparm -t /dev/sda1 If it can test the hardware disk’s write and read speed, it means the SATA works normally. 2.13. HDMI Test J15 is HDMI interface on board, it supports two kinds of resolutions: 1920x1080 and 1280x720.
  • Page 51 Show output information on HDMI displayer, users can modify the resolution and output format to adapt different screens. 2.14. LCD Display and VGA Test QY-IMX6S mainboard provide 1-ch LCD TFT display interface(J21), 1-ch VGA interface(J24),2-ch LVDS interface (J16 and J17). Current kernel supports resolution LCD [480x272,640x480,800x480,800x600], VGA [1280x1024,1024x768].
  • Page 52 QY-IMX6S Linux Function And Test Manual QY-AT043TN24, after powering on, input the following command in u-boot. set bootargs_mmc 'setenv bootargs ${bootargs} root=/dev/mmcblk0p1 rootwait rw video=mxcfb0:dev=lcd,QY-LCD-480x272,if=RGB24' 5.6 Inch LCD Touch Panel, resolution is 640x480,model no.:QY-AT056TN53, after powering on, input the following command in u-boot .
  • Page 53 QY-IMX6S Linux Function And Test Manual set bootargs_mmc 'setenv bootargs ${bootargs} root=/dev/mmcblk0p1 rootwait rw video=mxcfb0:dev=lcd,QY-VGA-1024X768,if=RGB24' VGA resolution: 1280 x1024, after powering on, input the following command in u-boot. set bootargs_mmc 'setenv bootargs ${bootargs} root=/dev/mmcblk0p1 rootwait rw video=mxcfb0:dev=lcd,1280x1024M@60,if=RGB24' ave and boot system saveenv;boot...
  • Page 54 QY-IMX6S Linux Function And Test Manual Solo core shows1 logo, dual core shows 2 logos, quad core shows 4 logos. To check whether the logo picture is distortion or jitter, to confirm whether display normal or not. You can also run qt program to test LCD and VGA according to this chapter 2.9.
  • Page 55 QY-IMX6S Linux Function And Test Manual FAQ: ① LCD Display has no image, please confirm whether select the items according to above kernel option. ② .Display image position match LCD monitor’s size or not, please confirm whether current kernel resolution is the same as current using LCD monitor data.
  • Page 56 QY-IMX6S Linux Function And Test Manual Test Process & Result: Connect LVDS LCD cable to J16 onboard, touch panel cable to J19 onboard, backlight powering cable to J18 onboard. Please make sure that the configured kernel resolution and current connected LCD or VGA required resolution are same.
  • Page 57 QY-IMX6S Linux Function And Test Manual 2.16. QT Test QY-IMX6S mainboard standard configuration file system has [4.8.4 qt] library, this program will take you to QT world. System supports usb mouser and touch panel operation. Test Principle: Execute [Imx6_qt_test] program, on the LCD monitor , it shows QT Image.
  • Page 58 QY-IMX6S Linux Function And Test Manual Operate QT image through touch panel or USB mouse Device Tree file: None Driver Code: None The Kernel Options: None FAQ: Please refer to touch panel and LCD display questions. 2.17. Touch Panel Test...
  • Page 59 QY-IMX6S Linux Function And Test Manual panel, resistive touch panel pairs with LCD screen. The capacitive touch panel pairs with LVDS screen. The resolution must be same as the LCD resolution in uboot. If using resistive touch panel, please refer to Charter 2.14 to connect.
  • Page 60 QY-IMX6S Linux Function And Test Manual Environmental variables take effect: source /etc/QtEnv 2.Execute touch panel’s calibration program [ts_calibrate]: ts_calibrate It shows cross picture on the left up corner, the serial terminal will prints the coordinate point base on current cross picture. Click the cross picture, this cross picture will skip to another corner.
  • Page 61: Camera Test

    QY-IMX6S Linux Function And Test Manual <*> ADS7846/TSC2046/AD7873 and AD(S)7843 based touchscreens FAQ: ①.If LCD shows the image unnormal, please confirm whether LCD resolution configuration match the current display. ②.After clicking touch panel, cursor display position has a little error and jitter with clicking position, this situation is normal.
  • Page 62 QY-IMX6S Linux Function And Test Manual Connect OV5640 to J22. Test Process & Result: 1. J22 connect OV5640 camera 2. Display, refer to Chart 2.13,2.14,2.15 3. Input command gst-launch -v mfw_v4lsrc ! mfw_v4lsink It shows captured image from camera on LCD.
  • Page 63 QY-IMX6S Linux Function And Test Manual FAQ: Debug UART prints information: # gst-launch -v mfw_v4lsrc ! mfw_isink MFW_GST_V4LSRC_PLUGIN 3.0.5 build on May 30 2013 12:26:32. MAX resolution 1024x768 MFW_GST_ISINK_PLUGIERROR: v4l2 capture: slave not found! N 3.0.5 build on May 30 2013 12:27:13.
  • Page 64 QY-IMX6S Linux Function And Test Manual J30 can connect to other 3G cards. It supports module, SIM7100CE, SIM7600CE. It supports China mobile 3G,Unicom 3G: UC15 Inserting SIM card on SIM socket, powering on , you can get the printed information.
  • Page 65 QY-IMX6S Linux Function And Test Manual Visit Internet, press [Ctrl+C]to exist: ping www.baidu.com -I ppp0 Any question, please send E-mail :supports@qiyangtech.com Page 65 of 72 Sales E-mail :trade@qiyangtech.com sales@qiyangtech.com Website :http://www.qiytech.com Copyright ©2012 Qiyangtech...
  • Page 66 QY-IMX6S Linux Function And Test Manual 2.20. Wifi Test QY-I.MX6S brings J12 or J11. It can be connected to WIFI. The module supports RTL8188CUS. Input RTL8188CUS on J12 or J11. It outputs on terminal as follows: ifconfig -a It prints [wlan0] Any question, please send E-mail :supports@qiyangtech.com...
  • Page 67 QY-IMX6S Linux Function And Test Manual Modify configuration file [/etc/wpa_supplicant.conf], modify the below [ssid] and [psk] to the corresponding user name and password. Input [sync], power on again, wait for some seconds, input: ifconfig If it shows [wlan0], it means the module has been mounted successfully.
  • Page 68 QY-IMX6S Linux Function And Test Manual ping www.baidu.com -I wlan0 The above information means the module works normally. Any question, please send E-mail :supports@qiyangtech.com Page 68 of 72 Sales E-mail :trade@qiyangtech.com sales@qiyangtech.com Website :http://www.qiytech.com Copyright ©2012 Qiyangtech...
  • Page 69 QY-IMX6S Linux Function And Test Manual 2.21. RS485 Test On QY-I.MX6S development board, it has reserved 2-ch RS485, multiplex with RS232. If using RS485, it needs to remove RS232 chipset on hardware, and solder RS485 circuit. RS485 and Hardware Relation Chart:...
  • Page 70 QY-IMX6S Linux Function And Test Manual command: setenv bootargs_mmc 'setenv bootargs ${bootargs} root=${mmcroot} rootwait rw rs485=1,2' saveenv;boot 3.System boots, Board 1 as RS485 receiving end, input command : /usr/test/rs485_test /dev/ttymxc1 115200 0 4.Board 2 as RS485 transmitting end, input command: /usr/test/rs485_test /dev/ttymxc1 115200 1 5.Check Board 1 printed information, user can see the printed...
  • Page 71 QY-IMX6S Linux Function And Test Manual Ⅲ. Test Summary QY-I.MX6S development board function tests are finished. If you meet any issues in test process, you can use the test code to check. Any question, please send E-mail :supports@qiyangtech.com Page 71 of 72 Sales E-mail :trade@qiyangtech.com sales@qiyangtech.com...
  • Page 72 QY-IMX6S Linux Function And Test Manual Zhejiang Qiyang Intelligent Technology Co., Ltd Tel: 86 -571-87858811 / 87858822 Fax: 86-571-89935912 Technology Support: 86-571-89935913 E-MAIL: supports@qiyangtech.com Website: http://www.qiytech.com Address: 3rd floor, Building A, WSCG Building, NO.6 Xiyuan 8th Road, Sandun Town, Xihu District, Hangzhou City, Zhejiang ,PRC .310030...