I am attempting to build a rudimentary BMS using the LTC6810-2 monitoring chip. Unfortunately, I cannot communicate to the chip because I am not understanding the Packet Error Code (PEC) generation using Cyclical Redundancy Check code provided in the datasheet. I tried looking into CRCs and how to use them properly, but nothing seems to work. It has been a good couple of weeks now and I am losing hope. Would be amazing if someone could save my day.