I'm planning on a PIC-based high-speed ADC application with the goal of having
numerous ADC dongles if you will. Plus with the max sample rate of 500ksps on
a PIC24, that's more bandwidth than a regular serial port can handle.
Eventually I'll write native USB drivers but I wanted to bootstrap my way into
this. Microchip has a firmware module you can use as an intermediate step in
moving from RS-232 to USB.
Never having done USB development, it's tricky if you have to figure it out on
the SBC and figure it out on the PIC (development board). My approach is to
start off with the USB serial emulator on the PIC doing something simple like
echoing characters to the LCD or back to the SBC. Teaching yourself how to
work an RS-232 port is easy because one end of it is connected to a dumb
terminal and you can see characters coming across. I'm trying to tackle it the
same way.
Which leads me back to the original question of how to make use of the
usbserial.o generic driver. This page:
http://www.linux-usb.org/USB-guide/x356.html
suggests it's fairly straightforward but I'd like to know if anyone has
attempted this before.
> .. why?
> Have you used all three of the serial lines you're given on the board?
> if not use one of the unused serial lines you're *given* (ttyAM(0,1,2)
> come to mind)
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|