| 2.2 Bytewise With this implementation the CRC data is stored in a 256 byte lookup table. Perform the following operations: 1. Initialize the CRC register with the value of the lower nibble of the value of the status register (reversed (sos^ss'oooo)). (default '00000000' = 0) 2. XOR each (transmitted and received) byte with the previous CRC value. The result is the new byte that you need to calculate the CRC value from. 3. Use this value as the index to the table to obtain the new CRC value. 4. Repeat from 2.) until you have passed all bytes through the process. 5. The last byte retrieved from the table is the final CRC value. 6. The CRC value retrieved from the SHTxx must be reversed (bit 0 = bit 7, bit 1=bit 6 ... bit 7 = bit 0) and can then be compared to the final CRC value.(2) 2.2.1 256 byte CRC Lookup table |