Hallo,
I've an application using the FTM Input Edge Capture Block to measure the tooth of a crankshaft. Within the model is also an ADC Block to measure the voltage of the passive crankshaft sensor. The application is working in Freemaster and with an oscilloscope.


Below a screenshot of the timestamp from the FTM Input Edge.

I've encountered two issues that I need help with.
Issue #1
As soon as I add a FTM Input TOR ISR to the model, the FTM Input Edge Capture appears in the application to generate rubbish (Freemaster + Oscilloscope). Generally it looses all connection to the board in Freemaster as well. The Block has been used as in the example "ftm_hall_sensor_tof_s32k14x.slx". It's the only change to the model.

What is the issue?
Issue #2
As soon as I change ADC Block to generate the data from the Potentiometer on the evaluation board (rather then look at the other sensor), the FTM Input Edge Capture appears in the application to generate rubbish or nothing at all. It's the only change to the model.


What is the issue?