How to change Radix point bits of ePWM block, cos and sin functions
Submitted by Mala Gowda on Fri, 01/04/2013 - 17:29
Hello:
How do i change the number of radix point bits of ePWM blocks, cos and sin functions. i find it to be 1 radix point bit. why can't we change it and how do i know if over flow exists in run time.
Regards, MALA
Answers
-
Submitted by Anders89 on Fri, 01/04/2013 - 22:24.
The ePWM block will accept inputs from 1.16 to 8.16 and do the right thing. fxSin and fxCos are constrained to produce 1.16 outputs if they are connected to 1.16 values, or 1.32 if connected to 1.32 values.
0 -
Submitted by Mala Gowda on Tue, 01/08/2013 - 13:18.
When i drag ePWM block from piccolo block set, i get ePWM block with 1.16 precision, how could i change this.
0 -
Submitted by Anders89 on Wed, 01/09/2013 - 03:39.
Yes, the block inputs do say 1.16, but they will accept 2.16 with no problem.
0