AnsweredAssumed Answered

KL28 CAU generates inconsistent SHA256 result

Question asked by Liangliang Ma on Oct 19, 2017
Latest reply on Jun 6, 2018 by Patrick Lewis

We are making use of the CAU unit in KL28 to calculate the digest of the 256KB application code in flash, but the result keeps changing unless the interrupt is disabled. Is it true that the interrupt must be disable for the CAU module to run?


The code is based on the mmcau library 2.0.0 from MKL28Z512xxx7 SDK 2.2 with customized wrapper. The system runs at 8MHz with SIRC. The LPTMR0 is run with LPO and interrupts every 5ms as the time base.