Categories
Statistics
Flag Counter
Since 08.08.2014
Counts only, if "DNT = disabled".

Your IP is 54.147.244.185
ec2-54-147-244-185.compute-1
Info
Valid HTML 4.01 Transitional Creative Commons Lizenzvertrag
rss
เราจะทำแบบวิศวกรผู้ยิ่งใหญ่
We love the King
Your valuable opinion :
5 stars

Avg. 5.00 from 1 votes.



UART-USB-Adapter.php   7288 Bytes    02-02-2015 22:03:30


Micro-Projects • Tools : UART - USB Adapter



This USB-to-UART converter provides an easy-to-use, small-footprint, cost-effective option for adding USB connectivity to existing systems which have an UART.


Micro-Projects • Tools : UART - USB Adapter



This tiny little adapter uses the MCP2200 from Microchip. It has a 64 bit RX and TX buffer and is housed in a SSOP-20 package. A 12 MHz crystal ensures precise timing. The UART controller can handle up to 19200 bits, 8 data bits, no parity, 1 stop bit. (for 0% error). It is equipped with a 256 byte eeprom and various GPIO (which are not used). The board is equipped with three leds which indicated the status. (Power, RX, TX). The used 6-pin header has always the same pin assignment, so they (RS232,USB,XPORT,...) are all interchangeable. Please be aware that the RX/TX pin marking on the MCP2200 (datasheet) is from the point of view of the computer !




Configuration




The device must be configured before use. Microchip offers several tools to do so. You may freely choose a VID (vendor ID) and PID (product ID) as long as your project will not escape your lab. (In case you leave the door open : a wrong driver may be loaded :-) So be careful ! You may lock yourself out when using a different VID (default:0x04D8)

We suggest you use the following settings : (Tools are from Microchip Website)

Configuration of the MCP2200




Testing




The device may easily be tested using HTerm in a loopback configuration. (RX is tied to TX and so the data is send back to the computer).


HTerm in action




Downloads








Anything Else • Troubleshooting




Data on USB As the name 'bus' suggests, there are more 'passengers' travelling. Therefore a header with some destination information has to be added. This may explain, that the data on the usb-bus must travel much faster and, that 'your' passenger is hard to be spotted out. The picture on the left shows the signals on D+ (top) and D- (bottom). If traffic looks like that, you may assume, that the bus is working properly. For the youngplayers among you, it is therefore recommended to start with a proven design, so you can take care of the data at the output of the MCP2200 or whatever else solution is used.





✈ Share your thoughts


✈ Nothing more to be seen below this point ? Maybe your browser blocks the facebook iframe.
The webmaster does not read the comments regularly. Urgent questions should be send via email.








 
t1 = 3844 d

t2 = 370 ms

★ ★ ★  Copyright © 2006 - 2017 by changpuak.ch  ★ ★ ★

PRchecker.info Impressum