farminbob
Newbie level 4
ft245 project
Hi to all, just found this forum and it looks like i might get some answers to my problem
I am trying to make an interface for a Digital television transmitter for Amateur radio..
Original design used the parallel port for 1.024Mb/s 8-bit parallel transfer rate in dos with no interrupts to the parallel input of the transmitter, it pulsed the strobe input on the printer port to request each byte of data.
I'm trying to make a USB version of this and currently experimenting with the FTDI FT245 chip conntected directly to my external interface.
With this setup i have got a semi working system but as you may have guessed i get some problems with interrupts on the USB bus at regular intervals and i loose a number bytes each time which can not happen if it is to work correctly.
so... dumb questions time... i have 128000 bytes/s , with 1ms? interrupt for usb = 128 bytes lost at each interrupt?
i guess i need a buffer bigger than 128 bytes to make it a lossless transfer?
Interestingly the FTDI chip states it has a 128 byte TX buffer so i guess i'm close to full throughput..
Has anyone any simple ideas about an alternate usb interface with a bigger buffer or a FIFO buffer idea that i can use that's not too complicated, Digital designs are not my strong point!
many thanks
Rob
Hi to all, just found this forum and it looks like i might get some answers to my problem
I am trying to make an interface for a Digital television transmitter for Amateur radio..
Original design used the parallel port for 1.024Mb/s 8-bit parallel transfer rate in dos with no interrupts to the parallel input of the transmitter, it pulsed the strobe input on the printer port to request each byte of data.
I'm trying to make a USB version of this and currently experimenting with the FTDI FT245 chip conntected directly to my external interface.
With this setup i have got a semi working system but as you may have guessed i get some problems with interrupts on the USB bus at regular intervals and i loose a number bytes each time which can not happen if it is to work correctly.
so... dumb questions time... i have 128000 bytes/s , with 1ms? interrupt for usb = 128 bytes lost at each interrupt?
i guess i need a buffer bigger than 128 bytes to make it a lossless transfer?
Interestingly the FTDI chip states it has a 128 byte TX buffer so i guess i'm close to full throughput..
Has anyone any simple ideas about an alternate usb interface with a bigger buffer or a FIFO buffer idea that i can use that's not too complicated, Digital designs are not my strong point!
many thanks
Rob