I'm using the i.MX RT1064 development board to develop a CAN driver. The code uses both CAN lines (CAN1 and CAN2). CAN1 works flawlessly, but I'm getting random error interrupts from CAN2. In the ESR register, the ERR_INT flag is set, but the Error Bits (bits 15–10) in the ESR are all zeros.
While debugging, I noticed that the SDK code defines the FSL_FEATURE_FLEXCAN_HAS_ERRATA_6032 flag in the MIMXRT1064_features.h file. Disabling this flag seems to solve the problem — or at least significantly reduces the number of interrupts. However, when I checked the official errata documents on NXP's website, there was no mention of errata 6032 for the i.MX RT1064.
Is there a specific reason why this define is included in the SDK files, or am I missing something?