| 数据搜索系统,热门电子元器件搜索 |
|
USB245 数据表(PDF) 5 Page - List of Unclassifed Manufacturers |
|
|
|||||||||||||||||||||||||||||
USB245 数据表(HTML) 5 Page - List of Unclassifed Manufacturers |
|
5 / 6 page ![]() asks for the drivers, put the floppy disk sent with the USB245 into the computer’s floppy drive and tell the setup routine which drive you placed it into (usually A:). After it has completed setup, you can find the COM port the USB245 has been assigned, by clicking on: Start Settings Control Panel, then double click the System Icon Device Manager Ports (COM &LPT). Here you should see: USB Serial Port (COMn), where n is the COM port assigned. Now that it has been found, unplug the USB cable from the PC. Never unplug the cable from the USB245 end, while the other end is plugged into a PC or USB master.. Wire the 8 data lines and 4 status lines to your preprogrammed microcontroller. You can use the 5V supply from pin 24, and the GND from pin 12 for you microcontroller. Do NOT tie another 5V source to the USB 5V source. RESET# is also available if needed. Plug the USB cable back into the PC. The PC should now search for and find the proper driver software. The PC may ‘freeze’ for about 25 seconds while the software is loaded. The chipset & driver manufacturer explains that this is normal. If the example program listed above was downloaded to your embedded processor, you should be able to open a COM program like PCPlus, choose the correct COM Port, and start typing in the data entry area and see you characters show up on the screen. If they show up twice, go to half-duplex mode. A very simple Basic program USB VAR BYTE REM A Place to store the character REM I/O 0-7 used for DATA LOW 8 REM I/O 8 used for WRITE SIGNAL, Start LOW HIGH 9 REM I/O 9 used for READ SIGNAL, Start HIGH REM I/O 10 used for RXF# input REM TXE IS NOT CHECKED 10 IF IN10 = 0 THEN REM IF RXF is LOW, there is a char available LOW 9 REM make the READ line active LOW USB=INL REM read the character HIGH 9 REM deactivate the READ line DIRL=%11111111 REM set PORT for OUTPUT HIGH 8 REM strobe the WRITE line HIGH OUTL=USB REM output the character LOW 8 REM bring the strobe back LOW LOW DIRL=%00000000 REM set PORT for INPUT END GOTO 10 |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |