Sample rate accuracy issue

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

Sample rate accuracy issue

378 Views
edouard
Contributor I

Hi community,

 

I have a NXP S32K144 and I would like to measure with occuracy a period of hall sensor (period from 2ms to 10ms).

On simulink I put a fixed-step solver with a 0.0005 sample time.

However, on Freemaster, i have a measure each a variable step around 1.5ms :

# Oscilloscope Data

# Seconds Hallsensor1
0.000447 1
0.002650 1
0.003771 1
0.004896 0
0.005993 0
0.007052 0
0.008107 1
0.009216 1
0.010258 1
0.011312 1
0.012585 0
0.013658 0
0.014719 0

 

Someone could say me why i don't receive a data each 0.5ms on my .txt file ?

thanks

 

Capture.JPG

 

Capture01.JPG

 

Capture02.JPG

0 Kudos
Reply
0 Replies