Runtime of Freemaster recorder is too much!

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Runtime of Freemaster recorder is too much!

616件の閲覧回数
kiddyang
Contributor I

I put the FMSTR_Recorder in PWM reload interrupt service routine, and tested its runtime. When triggered, its runtime could be more than 50us at most!

PWM frequency is 10kHz and period is 100us, if Recorder function takes too much time, then it will infuence algorithm running in PWM reload interrupt very badly.

How could this problem be solved?

P.S. If I use only scope, its runtime still could be more than 25us, which is also not acceptable.

0 件の賞賛
1 返信

483件の閲覧回数
sagardhavali
Contributor III

Hello Kidd,

We also have the same problem. We cannot use Freemaser at every 100us but yet we want to capture the data to see what is happening in the algorithm.

We are evaluating other options:

  1. Use P&E micro's Multilink Universal debugger to connect to JTAG and connect the FreeMaster to it via JTAG for the above purpose.
  2.  Use Vector's VX1000 tool box to connect to JTAG and use CANape to capture the data.

With 2nd option, we have been able to capture 32bytes at every 100us successfully at worst case execution!

Hope it helps.

Sagar

0 件の賞賛