Jump to content
43oh

agaelema

Members
  • Content Count

    56
  • Joined

  • Last visited

  • Days Won

    39

Posts posted by agaelema

  1. My initial objective is not create the smaller or better code, is just learn more things related to embedded world.

     

    This code has a lot to improve in size and performance, but anyway, can be useful for someone, even though there are many others.

     

    Thanks for the link, I will study it. The approach to convert the number seems to be more efficient.

  2. I would like to share with you this library. Is an embedded version of the famous "printf ( )".


     

    post-31344-0-91733200-1460306817_thumb.png

     

    The start point was this post in the e2e where an user share a code.


     

    I modified the code inserting new functions as binary notation, float notation, scientific notation, functions to convert numbers into strings and strings into numbers.

     

    The user can enable some #define enabling/disabling functions to use just what is useful.

     

    This is an resume comparison between the CCS native "printf" and this library (using th Launchpad EXP430FR6989 at 1MHz).


     

    post-31344-0-49485200-1460307318_thumb.png

     

    To facilitate the port to other devices there is a separated file. Currently there are two ports: MSP430G2553 and MSP430FR6989.

     

    I hope it is useful.

  3. Did you see this: "The MSP430F599x microcontrollers take low power and performance to the next level with the Low-Energy Accelerator (LEA_SC), a co-processor optimized for signal processing. this accelerator enables developers to efficiently process data using complex functions such as FFT, FIR and matrix multiplication. Implementation requires no DSP expertise with a free optimized DSP Library available."

     

    :o  :o  :D  :D

     

    Awesome

  4. Even if the folder is inside the project it's necessary to include in the compiler options?

     

    I tried to include some folders, but many errors keep happening.

    - the file "malloc.h" no exists

    - archives with directives marked as not necessary

     

    post-31344-0-06652500-1457543172_thumb.png

     

    post-31344-0-04421100-1457543174_thumb.png

     

    I tried to exclude this files of the building and replace the "malloc.h" by the "stdlib.h". After this the errors , but the code lock after the initial message displayed on the terminal.

     

     

  5. Hi.

     

    Good news. I'm very impressed with the characteristics of this new MSP432.

     

    Somebody know the roadmap of the new devices that will arrive? We will have devices for smart metering with the SD24? This would be awesome in my projects.

     

    One question, to this new line we need a new debug tool, correct? The MSP430FET-UIF will not be compatible? This tools is a good choice? 

    - "XDS100 Low-cost Debug Probe"

     

    Regards.

  6. I tried solve the problem changing Stellarisware by Tivaware without put the "pre-defined name"

     

    The two initial errors was resolved, but appeared on new error:

    Description Resource Path Location Type

    #1965 cannot open source file "inc/lm4f120h5qr.h" main.c /sllogiclogger line 29 C/C++ Problem

     

    When I try exclude this "include" appear 90 new errors like: 

    Description Resource Path Location Type

    #20 identifier "bool" is undefined main.c /sllogiclogger line 147, external location: C:\TivaWare_C_Series\driverlib\gpio.h C/C++ Problem

     

    Description Resource Path Location Type

    #20 identifier "int32_t" is undefined main.c /sllogiclogger line 151, external location: C:\TivaWare_C_Series\driverlib\gpio.h C/C++ Problem

     

    I'm having many problems to execute codes from internet that use the "Stellaris Ware" and "Tiva Ware".

  7. In the first time that I used "_nop_()", the command not worked and the CCS jumped the break point, but now worked well.

     

    One new question, when I started a new project (with StellarisWare) appears one warning "#10210-D creating ".stack" section with default size of 0x800; use the -stack option to change the default size". This warning doesn't appeared on the first test, what it means?

     

    I used this site as a guide for using the StellarisWare: hackaday.com/2012/10/14/using-stellarisware-with-the-launchpad/

     

    Thanks for the help.

×
×
  • Create New...