Hello @MichalH
As discussed in the post below, when using the recorder in Freemaster I receive the message "Stopped, waiting for acknowledgement" once the measurement is finished. I then don't get any results.
https://community.nxp.com/t5/FreeMASTER/FreeMASTER-3-0-Problem-with-the-Recorder/m-p/1447668#M971
I'm working with the MCU below:
I'm using the latest version of Freemaster:
How can I resolve the issue?
Thanks for the help,
Sam
已解决! 转到解答。
Hello Sam,
In general, a similar recorder behavior can be seen when FMSTR_Recorder() is not called periodically by the MCU application - so its state machine is not running.
I see that you use the Matlab Model-based design toolbox. I'm not an expert here, but I think the "Recorder Call" should be put in a block which is triggered periodically, e.g. by an interrupt. You can check the generated C code to see how is the FMSTR_Recorder() called.
I also recommend to refer to a MBDT Motor Control demo which makes use of an interrupt-driven recorder. If you need a further help, I will ask someone from MBDT team to step in.
Regards,
Michal
Hello Sam,
In general, a similar recorder behavior can be seen when FMSTR_Recorder() is not called periodically by the MCU application - so its state machine is not running.
I see that you use the Matlab Model-based design toolbox. I'm not an expert here, but I think the "Recorder Call" should be put in a block which is triggered periodically, e.g. by an interrupt. You can check the generated C code to see how is the FMSTR_Recorder() called.
I also recommend to refer to a MBDT Motor Control demo which makes use of an interrupt-driven recorder. If you need a further help, I will ask someone from MBDT team to step in.
Regards,
Michal