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.

IQMath: which lib for F2xx series

Other Parts Discussed in Thread: MSP430-IQMATHLIB

I am using a F2417 and on the TI website it states that it is supported by IQMath but the readme for IQMath doesn't list 2xx series as being supported. So is it supported? If so, anyone know which lib I use?

  • http://www.ti.com/tool/msp430-iqmathlib

  • Could you be more specific. As I said, the website  states that it is supported, as your link shows, but the actually lIbrary release doesn't and there is no obvious lib file in the directories for the f2xx devices.

    have you  used it successfully for the f2xx series? What has been your experience with the library?

  • Version 1.0 was released last month. Sounds like f2xx series is deprecated by TI quietly. For math routines, I think only the CPU type and the hardware multiplier (if any) matters. For math, there is no reason they need to single out f2xx. But in general, I agree that f2xx may be deprecated.

  • Can someone from TI chime in here? Is there support for F2xx in IQMath?

  • It looks like the G2xxx devices are supported.

    Since they do not have an on-board MPY unit, the math must be done by hand in the library. Even though it wouldn't be as efficient as the F2xxx devices with MPY, you might want to create a test scenario and see if the G2xxx IQ library works on your device.

  • F2417 uses CPUX and G2xx do not. The CPUX-V2 in F5xx and F6xx are different from CPUX. But I think the only difference is the number of MCLKs needed.

    F2417 has MPY16 which IQMath cannot use but no MPU32 which IQMath can use.

  • I have been able to compile and use the Qmathlib.a from the CCS\4xx library. I haven't tested it exhaustively but basic utility appears to be there.

    Can someone from TI confirm that the this library is intended to support the F2xx family.

  • Hi Chad,

    You are correct here, the F4xx QmathLib.a and IQmathLib.a library archives under the "{IQMATHLIB_INSTALL_DIR}/libraries/CCS/4xx" directory also support the F2xx family of devices. The next release of IQmathLib will provide a clearer directory structure to fix this issue and I will be sure to update this post when it is available.

    Thanks,

    Brent Peterson

  • Excellent, thanks for the confirmation.

    Best,


    Chad

  • Hi Chad,

    I just wanted to follow up on my reply from two weeks ago to let you know that we've released a new version of the IQmathLib (1.00.01.12) with several enhancements.

    The directory structure has been reorganized to better represent the types of libraries available. Now when you view the libraries folder under a given IDE there are two options for multiply support, MPY32 and MPYsoftware (perform multiplication using CPU instructions). The MPY32 directory has 4xx, 5xx and 6xx libraries available for those devices with the MPY32 peripheral. The MPYsoftware directory provides libraries for all MSP430 devices, MSP430F2xx included. Since the software multiply libraries now also support the 4xx, 5xx and 6xx devices it's now possible to use the software libraries to perform calculations while the MPY32 peripheral can be reserved for a certain task or operation, such as a dedicated MAC unit triggered by DMA.

    Other notable changes include a new example project demonstrating basic calculations, conversion to a BSD license as well as "beta" GCC support. Please see the release notes for full details.

    The new package can be downloaded from http://www.ti.com/tool/msp430-iqmathlib by clicking the "Get Software" button.

    Regards,

    Brent Peterson

**Attention** This is a public forum