You'll be able to read the bytes from MAX155 with even slower pic.
Of course you have to check if you have enough time between reading the bytes to process the bytes.
You can load the bytes to the USB RAM one by one. The USB which is almost independent module will send packets of data to the PC every 1ms.I want to send the bytes over full-speed USB to PC. Can i achieve to send each byte exactly after the reading or i have to save it locally on PIC or a memory and then send them to PC..?
You can load the bytes to the USB RAM one by one. The USB which is almost independent module will send packets of data to the PC every 1ms.
Full speed USB can send up to about 1MB per second, I don't know how much it is in practice. In the fastest delivery there is no check for errors and it is recommended for applications like audio.
Using USB requires designing your driver for the PC. If you use HID class USB then your PC already has a driver but HID USB is limited to max 64KB/s , not enough for you. Communication class USB or Mass Storage class may give you the speed you need but you need a driver for the PC. I have experience with HID class only and I find if slower than serial RS232.
The Microchip driver is for CDC USB to serial converter, it simulates a COM Port in your PC, I don't know of any other driver. That driver wont be useful for you.
The max speed of COM Port in a PC is about 10KB/s. The max speed I managed to get with USB HID is 8KB/s.
Transferring 256KB/s is something I don't have experience with so I can't advise you how to achieve it.
If you are sampling audio with your ADC then look at Microchip examples of audio USB.
usb full speed can't transfer 1Mbyte/s ..?
Hi,
FT2232H is high speed USB. With a simple PLD you could manage to transfer the data directely from ADC to FTDI. Afaik it has 4kBytes FIFO inside.
Try 245 parallel mode.
Then the ucontroller is free from processing load.
Klaus
USB to parallel FIFO transfer data rate up to 10Mbyte/sec.
Single channel synchronous FIFO mode for transfers up to 40 Mbytes/sec.
Have you faced errors or wrong data in the communication..??
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?