Is the XC-1A fast enough to be a USB slave (info transfer)? Does it need a phy chip? Are there any examples? I downloaded the HID example, but have no idea what I am looking at.
If not USB, what is the best way to get data from the XC-1A to the computer quickly?
USB
-
- Member++
- Posts: 22
- Joined: Sun Nov 07, 2010 6:33 pm
What data speeds do you need? The XC-1A can use the onboard FTDI chip to communicate with the PC at around 500kbps-1mbps IIRC.
-
- Respected Member
- Posts: 395
- Joined: Tue May 18, 2010 12:25 am
I am trying to stream video at 128x64 resolution.
What is the fastest that the XC-1A UART can go (baud rate)? Looking around, but can't find it.
Talked to folknology on IRC, and turns out you can only have full speed with bit-banging, so USB is out of the question for now.
What is the fastest that the XC-1A UART can go (baud rate)? Looking around, but can't find it.
Talked to folknology on IRC, and turns out you can only have full speed with bit-banging, so USB is out of the question for now.
-
- XCore Expert
- Posts: 844
- Joined: Sun Jul 11, 2010 1:31 am
That doesn't say much; you want to tell us how much data per second that is.rp181 wrote:I am trying to stream video at 128x64 resolution.
We don't know the frame rate, or how much data one pixel is, or if perhaps
the data is compressed.
3Mbit/s. That's the raw data rate, only 2.4Mb/s can be useful data (there isWhat is the fastest that the XC-1A UART can go (baud rate)? Looking around, but can't find it.
one start bit and one stop bit per byte sent); also, you'll have a really
hard time getting that data out of there: the UART has two 128-byte
buffers only, and USB has some big latencies.
1Mbit/s is doable on most hardware and OSes.
-
- XCore Expert
- Posts: 956
- Joined: Fri Dec 11, 2009 3:53 am
- Location: Sweden, Eskilstuna
USB
Look at the schematic for the XDK, it has an USB port connected to a G4.
The chip comes in different packages for different clock speeds, look if you can reuse an existing clock.
Look at the schematic for the XDK, it has an USB port connected to a G4.
The chip comes in different packages for different clock speeds, look if you can reuse an existing clock.
Probably not the most confused programmer anymore on the XCORE forum.