CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Are there advantages to using a hardware CRC?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
ortegahernandes



Joined: 14 Feb 2020
Posts: 23

View user's profile Send private message

Are there advantages to using a hardware CRC?
PostPosted: Wed Nov 29, 2023 8:37 am     Reply with quote

I'm going to ask a very general question.
here I can use a CRC both via hardware and software

Is there an advantage to using hardware?
temtronic



Joined: 01 Jul 2010
Posts: 9221
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Wed Nov 29, 2023 9:00 am     Reply with quote

should be faster ?
math is always correct ?
hmm, are you generating the CRC to send it or comparing incoming data to confirm ? it may make a difference.


Last edited by temtronic on Wed Nov 29, 2023 5:53 pm; edited 1 time in total
waffles



Joined: 21 Dec 2021
Posts: 8

View user's profile Send private message

PostPosted: Wed Nov 29, 2023 2:13 pm     Reply with quote

Less program space is used.

Some PICs allow to you to perform a scan/calculation in the background, throwing an interrupt when complete.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group