Hi ,
SPIERR mostly comes due to CRC mismatch between micro and gd or due to SPI message delay according to data sheet but I'm not getting any CRC issues in code. SPIERR does not come without enabling PWM....GD's are free from SPIERR but once PWM is enabled then only SPIERR is coming. Doesn't that mean that on enabling PWM, it is adapting some sort of noise? Without PWM enabling, it runs endlessly without SPIERR.