AnsweredAssumed Answered

Hard Fault using GetPeriodTicks function of TimerUnit

Question asked by Zeno Maspoli on Nov 20, 2013
Latest reply on Nov 21, 2013 by Zeno Maspoli

Hi,

I'm using Prosessor Expert for the programmation of the K60D100M tower.

I've added a Timer Unit, and i want to use the GetPeriodTicks function but at the end of that function, after the return,

the programm stuck in the hard fault.

I had a look to the HSFR Register but the of VECTTBL and FORCED bit have value 0

The timers works well, and i can even chanche the frequency by using the SetPeriodTicks function, but when i try to get the

value of tick per period i get stuck in the PE_ISR(Cpu_ivINT_Hard_Fault).

Any advice?

 

zeno

Outcomes