1256 views|1 replies

2929

Posts

0

Resources
The OP
 

【BIGTREETECH CB1】USB interface test [Copy link]

 

This time I will test 3 USB interface devices: USB to serial port, USB card reader, USB sound card.

The 4 USB ports of the BIGTREETECH CB1 development board are connected by a FE1.1S USB HUB interface chip. The FE1.1S
chip is a product of Tomming Technology Co., Ltd.

1. USB to serial port test
The USB to serial port interface chip is PL2303HX, which is a chip commonly used by electronic engineers. It is a product of Wangjiu Technology Co., Ltd.
PL2303 chip features

Insert the USB to serial port converter into the USB port of the development board.
Use the command lsusb to check whether the driver is working properly.

Enter the /dev directory and check that the serial port number assigned by the system is ttyUSB0

Then install the minicom serial port debugging software
sudo apt-get install minicom

Then enter the command minicom -s, select "Serial port setup", change the serial port driver to /dev/ttyUSB0, change the serial port baud rate to the baud rate you need. Change the hardware flow control to No, otherwise it will not be displayed normally.

Then press the ESC key to exit the setting interface, return to the minicom main interface, use a short-circuit wire to short-circuit the RX and TX on the USB-to-serial port board, press the keyboard to find that serial port data can be sent and received normally.

Second, USB card reader test
This test uses Lexar's USB3.0 card reader + Samsung's 128G EVO Plus U3 specification TF card.
This TF card has a maximum read speed of 100MB/s and a write speed of 60MB/s, which meets the test requirements of the USB2.0 interface.
Here is a table of TF card speed levels for easy comparison.

Insert the card reader into the BIGTREETECH CB1 development board.
Use the df -h command to list all partitions. You can see the location where the TF card is mounted.

Install the disk test software hdparm
sudo apt-get install hdparmTest
the reading speed of the TF cardsudo
hdparm -Tt /dev/sda5

You can see that the reading speed reached 33.36MB/sec

3. USB sound card test
The USB sound card I have is driver-free on WIN7. I can use lsusb to check if it is driver-free when plugged into the development board.

Use the aplay -l command to check if it is card 2

Create a new folder test in /home/biqu/ and upload a left and right channel test audio test.wav.
Use the command aplay -D hw:2 test.wav to play the test audio. Here hw:2 refers to playing with the card2 sound card.

If you feel the volume is too low, you can use the alsamixer command to modify the sound card volume.

Summary:
This time, the USB to serial port, USB card reader, and USB sound card tested can all be driver-free, and the actual use effect is good. The four USB interfaces also enhance the expansibility of the development board. Although the theoretical maximum transmission speed of USB2.0 is 480Mbps (i.e. 60MB/s), the actual transmission speed is only about 30MB/s. This time, the reading speed test of the USB card reader has reached the actual maximum speed of the USB2.0 interface, indicating that the interface is a USB high-speed port and has not shrunk. The shortcoming is that the H616 quad-core A53 CPU can actually drive USB3.0. It would be better if it is equipped with 2 USB3.0 interfaces.

This post is from Domestic Chip Exchange

Latest reply

Great learning   Details Published on 2023-1-15 14:45
 
 

7171

Posts

195

Resources
2
 

Great learning

This post is from Domestic Chip Exchange
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list