Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/Maxim-Integrated/max32670/ECC/EN#0x0
ECC Enable Register.
System RAM0 ECC Enable.
ICC0 ECC Enable.
Flash ECC Enable.
https://github.com/analogdevicesinc/msdk