Hello Sivanathi,
Yes, floating point numbers are challenging to manipulate efficiently using microcontrollers. Two recommendations would be to scale up your floating point number into an integer (e.g. 0.12345 into 0x3039) before sending it over RF communication…
Hi,
1. LEA is mostly used in signal processing. To calculate a RMS, using MPY32 Peripheral is better.
2. You need to use our IQmathlab. You can find functions to compute the square root and multiplication.
3. You don't need to care about how to control the…
Hi Alexey We can do mag=real^2+img^2 refer to the MSP DSP Library : software-dl.ti.com/.../group__dsplib__transform__real.html
and the sqrt you can do it with the QMATH library:: http://www.ti.com/tool/MSP-IQMATHLIB
Please look over the following E2E post: e2e.ti.com/.../426393
MSP-IQMATHLIB supports the MSP430FR5739, you can review the library's Users Guide for more information.
Regards, Ryan
Hello Soumit,
The MSP430F5529 features a 32-bit x 32-bit hardware multiplier module (MPY32) and the CCS compiler does support 64-bit (long long, signed or unsigned) data types. This is shown in Table 5-1 in the MSP430 Optimizing C/C++ Compiler v17.9.0…
All MSP-IQMATHLIB information is provided in the User's Guide: software-dl.ti.com/.../MSP430-IQmathLib-UsersGuide.pdf
A few examples are also provided as a part of MSP430Ware -> Libraries -> IQmath Library -> Example Projects -> MPY Software or in…
Hi Bob,
There are libraries such as MSP-SDPLIB and MSP-IQMATHLIB available to get you started with this type of application. Please review the following resources:
e2e.ti.com/.../520185
e2e.ti.com/.../544382
e2e.ti.com/.../
e2e.ti.com/.../
e2e…
Hey Shariva,
Shariva Dhekane said: As I've mentioned earlier, this 50% duty cycle is appearing when the pin is set to low in the beginning. So how is it that I get different results when it is set to high in the beginning? Although I agree with the solution…
Part Number: MSP430I2040 Other Parts Discussed in Thread: TIDM-SERVER-PWR-MON , TIDM-TWOPHASEMETER-I2040 , MSP-IQMATHLIB Hi,
I have an MSP430i2040 sub-metering EVM. I followed the design guide to do the calibration. However, after being calibrated, the…