You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's an idea I came up with, but I fear it's not really practical. The SPI master can calculate a 16-bit CRC with an arbitrary polynomial. Unfortunately there's quite some bit wrangling necessary:
need to first feed in 0x57 0x15 to get the starting value from 0000 to FFFF
It would be a fair bit of work to rework everything. I am not sure how important it is to do, either, since we calculate the CRC while we're receiving the frame. There isn't much else we can be doing during that time. But, maybe if someone ever makes a USB full-speed implementation that would be useful?
Here's an idea I came up with, but I fear it's not really practical. The SPI master can calculate a 16-bit CRC with an arbitrary polynomial. Unfortunately there's quite some bit wrangling necessary:
Output:
Check: https://www.crccalc.com/?crc=12345678&method=CRC-16/USB&datatype=ascii&outtype=hex
Maybe someone can find a way to do this more efficiently...
The text was updated successfully, but these errors were encountered: