Forum Discussion
Altera_Forum
Honored Contributor
13 years agoUSB External Chip
Has anyone had any experience with interfacing to an external (to the gate array) USB Chip ? I am looking for a simple, cheap, low power chip that interfaces directly to a NIOS or even better to Inte...
Altera_Forum
Honored Contributor
13 years agoYou'll probably need latch the data from the USB parrallel bits and request Avalon master bus cycles based on the latched values.
In some senses a UART interface might make this easier - split each uart data byte into two 4-bit fields, use one as 'command', the other as 'data'. So a memory write would require upto 8 bytes to set the address, 8 bytes for the data and a final 'write' command (which might increment the address, and might set the last data nibble). Read would be much the same except that you'd send 8 data bytes to the host. That would be moderately slow - but probably not impossibly slow! The shared memory access isn't an issue. All the internal memory is dual-ported and the Avalon 'bus' does arbitration.