Slide 1 Slide 2 Slide 3 Slide 4 Slide 5 Slide 6 Slide 7 Slide 8 Slide 9 Product List
ControlSUITE Slide 6

Advanced libraries are becoming expected pieces of collateral from a microcontroller supplier. controlSUITE™ offers the expected: standard math and trig functions; the advanced, such as, DSP library for FFTs, filters, and advanced math; and the unique. IQ Math has attracted many developers because of its ability to simplify programming with fixed point math. IQ Math is a library and compiler intrinsic that allows variables and certain instructions to be cast as IQ types. Users can then select the precision and resolution. That is, out of the 32-bit number representation, the first bit is the sign bit, then the selection of how many bits represent an integer and how many represent the quotient or decimal point. For example, a Q20 IQ variable will have 11-bits for an integer and 20-bits for a quotient, representing a range of about -2048 to 2048. This allows customers to select the appropriate range and resolution for the number system they are using. Also, writing in IQ Math also allows a single source set, as at compile time IQ types can be treated as true floating point, allowing portability between devices. This means that migrating from floating-point to fixed-point, and vice versa, is as simple as changing a single software switch. Besides the device libraries, TI also offers unique application specific libraries.

PTM Published on: 2010-11-17