This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Aaron

Other Parts Discussed in Thread: TMS320F2812

Hi,

I'm working on tms320f2812 ezdsp card for motion control, and I would like to know if is possible in CCS to ceil a variable in _iq format, as you can do in matlab or another environment of programation.

I mean, I've a variable in _iq format (defined in CCs in IQ24) called var2 and it has valors like this:

0,1079930067

And I would have the content of this variable like this, just with 2 or 3 decimals:

0.108XXXXXX

There is any function for it in CCs or there is another way to do it.

 

Best Regards.