Open gammeter opened 3 years ago
Should the library be portable also to chips that do not support checksum calculation in hardware? @maehne
If yes, using the hardware support for the current chip makes it more difficult to port the library to chips that do not support this feature.
According to the datasheet (page 29) the MAX14819 chip is able to calculate the checksum of IO-Link messages:
However, a comment in the code in
Max14819.cpp
(currently line 192) says the following:I think one should go over the code again to see if this issue is caused by the software (e.g. timing problem with the SPI communication or "wrong" configuration of the chip).
Using the Checksum Calculation on the chip would reduce the CPU load.