eMIOS Freeze Problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

eMIOS Freeze Problem

1,541 Views
engineer_attila
Contributor III
    Hi folks,
   
    My board is MPC5775B-E-EVB , development IDE is S32 Design Studio.I use eMIOS with period measurement modul,

    When the input signal frequency higher than 750 kHz  the system was freeze.

    How can i prevent the system freeze?

    Best regards,

    Attila
0 Kudos
Reply
3 Replies

1,524 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

what does system freeze mean in your case?
If eMIOS is used to measure input PWM period/duty, it just generate interrupt or DMA request on selected input edge. 750kHz looks fast to be serviced by CPU interrupt, assuming interrupt latency and execution time.

BR, Petr 

0 Kudos
Reply

1,511 Views
engineer_attila
Contributor III

Hi Petr,

I try to measure period of input signal(IPM via interrupt request).I continuolsly read the A2 and B1 registers by FreeMASTER and also blink led for debug purpose.When i gave high PWM signal to eMIOS pin, A2 and B1 values remain constant and led stop blinking. I want to prevent the system freezing. How can i handle this situation ?

Best regards,

Attila

0 Kudos
Reply

1,496 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

try to utilize DMA to read A, B registers.

BR, Petr

0 Kudos
Reply