Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hello,
I want to understand the embedded OS and port it on to the MSP430.
Please suggest me the OS to start with and the way to study it through designer and developer's perspective.
Hello,
Is there any standard of what should be included in commenting the Embedded Code?
Right now, I am of my own, using following information in commenting...
For .c file
/************************************************************************************************
* File Name: -...
Hello,
I am using PT100 sensor in my project to read temperature.
My requirement is to calculate the temperature value in the form XXX.X degree C.
The polynomial to be used is...
The 'R' is what I calculate from ADC count. (R is already multiplied by 100 to bring it to integer format)...
Ok...
Even I am struggling because of the misleading information.
I thought it was true and did design and now being screwed up. :cry:
Anyways, I must find out the solution for it now. :idea:
Sir, no 64bit datatype is working in CCS4.0.
Please see this...
Link
If I come across problem, I refer to forums of TI and assume their replies as correct.
If my approach is wrong please tell me that as well (since I am new for both design and TI, my approach might be wrong)
Yes Sir, Exactly, Totalised Flow can be an integer value.
But, problem comes if I declare it as int or long as the max value for totalised flow can go to 9999999999 and neither int nor long support this value.
Further, 64 bit double is not supported by CCS4 (even though compiler user guide...
The variables I am using need to be float because they are result of mathematical operations involving float values (like slope, intercept, rate of item etc)
I already referred, the user guide you recommended, but when I actually tested it on IDE, it failed. I dug it out on TI forums and...
Hello,
I am using MSP430 series mcu and CCS4 IDE.
I have to manipulate data upto 12 digits max. (9999999999.99)
I assumed only float can carry this much sized values since its limit seems to be 3.4 e^38. So, I declared variables as float. Now, even floats can't work for my purpose. The...
Okay....
this explains why am I getting an erroneous value.
So, I will have to write my own "number to char" function.
Any reference of how to convert float value to char?
Actually, if no of digits in float variable exceeds 8 (i.e. value greater than 9999999) sprintf can't retrieve the accurate char array equivalent to that float value.
That is where I am looking into as why would this happen?
- - - Updated - - -
1234506789 is what I am passing to sprintf and...
Hello,
I have variables in float which I am interested in converting to char array.
For this I used sprintf function and enabled full support to library functions in Code Composer Studio 4.
//global declaration
// Struct_Parameters_RunMode.f32TotalisedFlow is a float type in a structure...
I was trying to achieve exactly this thing.
I could not do this one... (UINT8_T*)&floatVariable
Now, I implemented the above pointer and its working.
But, the question is, when I retrieve back the data, how to make it float again? Is there any library function available or using the same...
I have interfaced the nvram with MSP430 through I2C. Compiler used is CCS4.0
I have few variables in float, int and long type which I need to save to the nvram periodically and retrieve back after every power on.
Problem No. 1.
I tried to save the data to memory using unsigned char*. But, my...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.