OpenCores
no use no use 1/1 no use no use
crc(5 and 16) usb
by aydiwalid on Apr 6, 2009
aydiwalid
Posts: 3
Joined: Oct 24, 2008
Last seen: Apr 28, 2012
hello,

PLEASE SOME ONE HELP ME.

I HAVE SOME CONFUSION.

the host send data to the receiver LSB first.As described in the specification, the crc5 is composed of two fields addr and endp. these fields are sent LSB first add0-add1-add2..add6-endp0-endp1..endp3-crc0-crc1...crc5.

for crc16 is the same but just for data field.

the crc checker or generator receives data MSB first but the usb port sent lsb first, normally i should use a LIFO to adapt the stream data comes from the host to my crc cheker.

normally if i understood THE DATA ENTER TO MY CRC CHEKER (if i didn't use a LIFO(last in first out)) like that

crc5-crc4...crc0-endp3-endp2...endp0-addr6-addr5...addr0.

how can i do to adapt the stream data comes from the host (LSB first) to my crc checker ?

the width of the input bus of my crc is 8 (for crc5 and crc16).

(really the data comes from utmi interface 8 bit each shot clock.first is the PID after that the 7bit of address+1bit of endp and finally 3bits of endp +5bits crc.(if i understood))

please an other question: which field should enter first to the host generator.is it address (MSB FIRST?) or endp and which field that should enter first to the receiver checker( my crc checker)?

thank you an advance.
no use no use 1/1 no use no use
© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.