Interesting new USB chips from WCH - Page 1
Forum section: electronics / projects

author: spostma
author_rank: Regular Contributor
timestamp: September 25, 2023, 03:54:22 pm
content: I found some interesting new/improved USB peripheral chips:Overview:https://www.wch-ic.com/products/categories/46.html?pid=1of which I like especially:CH342 USB to VCP/CDC3 Mbpsspeeddualserial portwith ID EEROM and RS485 support and1.8 - 5V I/O, in a 10- or 24-pin package:https://www.wch-ic.com/downloads/CH342DS1_PDF.htmlhttps://www.lcsc.com/product-detail/USB-Modules_WCH-Jiangsu-Qin-Heng-CH342K_C2826608.htmlCH347 USB to VCP/CDC/HID9 MbpsUART + (UART /I2C+SPI/JTAG) serial portwith ID EEROM and RS485 support (3V3 I/O), in a 20- or 28-pin package:https://www.wch-ic.com/downloads/CH347DS1_PDF.htmlhttps://www.lcsc.com/product-detail/USB-ICs_WCH-Jiangsu-Qin-Heng-CH347T_C5122332.htmlCould be perfect for low-cost chip programmers!Drivers for linux:https://github.com/WCHSoftGroup/ch343ser_linuxAnother interesting one; USB Host and Device HID (Mouse+Keyboard) over serial link e.g. for KVM switches:https://www.wch-ic.com/downloads/CH9350DS_PDF.html

author: moffy
author_rank: Super Contributor
timestamp: September 25, 2023, 09:50:48 pm
content: I have purchased one of the CH347 boards in the hope of using it to read a 1MS/s SPI ADC, but it has no interrupt capability on the chip. I spoke with one of their reps and he said that the capability was there it just hadn't been added to the DLL. Said that an update would be coming around September, but as yet nothing.

author: spostma
author_rank: Regular Contributor
timestamp: September 27, 2023, 12:08:12 pm
content: update; I saw in the footnotes that the CH347 is a high speed USB2 device rather than a low-speed device,and that it seems also to support an SWD mode, so it is useful as debugger device as well:CH347 implements480MbpsHigh-speed USB to JTAG,USB to SWD,USB to High-speed SPI, USB to I2C, USB to High-speed UART, etc.It can be used for CPU debugger, FPGA downloader, programmer, etc

author: PCB.Wiz
author_rank: Super Contributor
timestamp: September 27, 2023, 06:19:59 pm
content: Yes, a nudge slower top baud than ft232h but cheaper, smaller, and better baud granularity above 2MbdIirc I tested 96MHz/N for 2M+, and 144M/N for the > 6M speeds.

author: PCB.Wiz
author_rank: Super Contributor
timestamp: September 27, 2023, 06:22:28 pm
content: On interesting new USB chips, I also see lattice have a new fpga with HS-USB hardened module.

author: tszaboo
author_rank: Super Contributor
timestamp: September 27, 2023, 07:44:45 pm
content: Quote from: PCB.Wiz on September 27, 2023, 06:19:59 pmHow fast can you clock the SPI?

author: PCB.Wiz
author_rank: Super Contributor
timestamp: September 27, 2023, 09:03:34 pm
content: Quote from: tszaboo on September 27, 2023, 07:44:45 pmData specs :Built-in 12K bytes RX-FIFO and 4K bytes TX-FIFO for each UART.Presumably also for SPI ?2.4. SPI synchronizes serial interfaceWorks in Host/Master Host mode.Provide SCS, SCK/CLK, MISO/SDI/DIN, MOSI/SDO/DOUT four signal lines.Supports 2 chip select signal lines and can operate two SPI interface devices by time-sharing.Supports 8 bit /16 bit data structure, supports MSB and LSB transmission.Supports SPI mode 0/1/2/3, and supports transmission frequency configuration up to 60MHz.but unclear if that means master and slave ? - I guess that is master speeds.

author: tszaboo
author_rank: Super Contributor
timestamp: September 27, 2023, 09:19:13 pm
content: Quote from: PCB.Wiz on September 27, 2023, 09:03:34 pmOh, I have to read the datasheet better, it's getting late here.60MBit is quite good, I wonder if it's burst or sustained.I remember more than a decade ago, we had this 3 Mbit UART for a PIC32, and we were losing data all the time. Then we figured out that it was using a single core of a 3 GHz PC to keep that UART fed with data. Hopefully they have good drivers.