Continue to Site

Welcome to EDAboard.com

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.

Recent content by scorrpeio

  1. S

    Learning Embedded OS for MSP430

    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.
  2. S

    Standards for Commenting an Embedded Code

    ok... I will read these books first now and if have any doubt, will revert back
  3. S

    Standards for Commenting an Embedded Code

    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: -...
  4. S

    Float to Int conversion of PT100 Polynomial

    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)...
  5. S

    Datatypes for numbers greater than 8 digits in CCS 4

    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:
  6. S

    Datatypes for numbers greater than 8 digits in CCS 4

    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)
  7. S

    Datatypes for numbers greater than 8 digits in CCS 4

    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...
  8. S

    Datatypes for numbers greater than 8 digits in CCS 4

    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...
  9. S

    Datatypes for numbers greater than 8 digits in CCS 4

    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...
  10. S

    Strange problem with sprintf function in CCS4 compiler

    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?
  11. S

    Strange problem with sprintf function in CCS4 compiler

    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...
  12. S

    Strange problem with sprintf function in CCS4 compiler

    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...
  13. S

    [SOLVED] Copying variables to External memory

    I have done it. (char*)& float does my job.
  14. S

    [SOLVED] Copying variables to External memory

    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...
  15. S

    [SOLVED] Copying variables to External memory

    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...

Part and Inventory Search

Back
Top