I am trying to add a PIT to the project. When I read or write from the PIT0_MCR or PIT1_MCR I get a hard fault. I am using a MKM34Z128. I know it is a hard fault because i changed the name of that fault and had it go to my own ISR.
Any ideas why this is happening?