Hi Usman,
We have the Fixed Point Math Library for MSP found here: www.ti.com/.../msp-iqmathlib
However, I'm not aware of any floating point math library.
Regards,
Akash Patel
Hello Peter!
You can use IQMath Library to calculate all the t rignometric functions. It's much faster and efficient than C functions.
Please read the usersguide from .
Teja
Hi eyalasko, I will try to bring in the MSP430 MSP-IQMathlib author for his comments. I do not believe #define macros are global so attempting to change the value outside of IQmathLib.h will have no effect. Have you tried changing the GLOBAL_IQ definition…
I have no specific links to libraries you couldn't find yourself.
The stuff I found in a superficial search was mostly C++, Java or scripting (Matlab, R). This would be hard to swallow for a MSP430 ...
TI has fixed point math libraries ( www.ti.com…
Hello Kien,
Thanks for searching through the code. In the 'emeter-dlt645.c' file on Line 226, the value returned by the "mains_frequency()" function is placed into the TX packet that gets sent to the GUI. Here, you could multiply the value by the frequency…
Hello Abhishek! I believe you're measuring current using Current Transformers. If you're, then I've got some inputs for you. 1. Do not do operations on every sample. Collect 100 samples and than calculate Vrms and Irms. If you calculate voltage and current…
Hi Carlos,
The FFT routine I posted is intended to be used with the IQmath libraries for MSP430. You can download the libraries at the link below and follow the instructions to create an empty project or add the libraries to an existing project with…
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…
Part Number: MSP430I2020 Other Parts Discussed in Thread: MSP-TS430RHB32A , , MSP-IQMATHLIB Tool/software: TI C/C++ Compiler hello,
- using development board: MSP-TS430RHB32A
I have using the sample code,"sd24_ex4_singleConversionSingleChannelPolling…