Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Replace the look-up table CRC's with an algorithm #6

Open
MightyPork opened this issue Dec 12, 2017 · 3 comments
Open

Replace the look-up table CRC's with an algorithm #6

MightyPork opened this issue Dec 12, 2017 · 3 comments

Comments

@MightyPork
Copy link
Owner

No description provided.

@FrozenDroid
Copy link

Hmm, would be very neat if you could supply your own CRC function, in case of STM MCU's with builtin CRC calc unit.

@MightyPork
Copy link
Owner Author

hmmm i think that could be done via extern functions that are used for a certain CKSUM type

@FrozenDroid
Copy link

FrozenDroid commented Dec 19, 2017

As for the CRC8, the number 1 implementation from this has worked well for me. It's a Maxim/Dallas implementation with 0x31 as the polynomial, 0x0 as init and final Xor value, with the input and result reflected.

@MightyPork MightyPork changed the title Replace the look-up table CRC's with an algorithm, also add CRC8 support Replace the look-up table CRC's with an algorithm Mar 18, 2018
asmwarrior pushed a commit to asmwarrior/TinyFrame that referenced this issue Apr 25, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants