agaelema

Members
  • Content count

    37
  • Joined

  • Last visited

  • Days Won

    11

agaelema last won the day on August 15

agaelema had the most liked content!

About agaelema

  • Rank
    Advanced Member

Contact Methods

  • Website URL
    http://br.linkedin.com/pub/haroldo-amaral

Profile Information

  • Gender
    Male
  • Location
    Brazil

Recent Profile Visitors

112 profile views
  1. Hi @spirilis I'm not a specialist, but traditionally designers use tools like Matlab to select coefficients and test. If I'm not wrong, the CMSIS coefficients were calculated using matlab (providing the code). Octave is a free tool with same syntax and similar functions. This link show an example using matlab/octave https://www.allaboutcircuits.com/technical-articles/design-of-fir-filters-design-octave-matlab/ https://www.allaboutcircuits.com/technical-articles/practical-fir-filter-design-part-2-implement-filter/ Bellow there are some links to tools (but I have not tested) http://t-filter.engineerjs.com/ http://engineerjs.com/?sidebar=docs/iir.html http://iowahills.com/Index.html
  2. Hi. In the beginning of this year I wrote two articles showing how to compile the CMSIS DSPLIB to use in MSP432 and one example of use. The sequence is very similar to used in Stellaris and Tiva line. The articles are in portuguese, but there is a embedded translator. Compiling the CMSIS DSPLIB to MSP432 Example of use - FIR filter I hope it's useful.
  3. Hi, These after read this thread about how to use temperature calibration data, I tried to use TLV register to obtain the "real" voltage reference value and increase the ADC conversion by compensating the gain and offset. The test was performed in a Launchpad EXP430FR6989, but can be applied to other launchpads compatible with MSP430Ware driverlib. The increase in the accuracy is very interesting. in the table (sorry by the comma instead of point, brazilian notation). HP 3478A - value measured with DMM ADC_correct1 - value measured with MSP430 without any correction ADC_correct4 - with all corrections using float variables ADC_correct5 - using mainly integer Here there is an article about this test and the Github with the example. Regards
  4. I am developing a timeout / soft timer library for the MSP43x and would like to share it with you. It's still in the initial version, but all the functions are working. I'm developing and testing on MSP430F6736, but it worked fine on launchpad EXP430F5529LP. The library uses a timer to periodically generate ticks. In the base version developed by Felipe Lavratti, the timer-tick occur every 1us through a 32-bit timer (ARM Cotex). To avoid overloading the CPU I modified the code to accept longer time intervals and also functions to automatically calculate the Capture / Compare value of the timer. I also tried to isolate the timer configuration in a separate file, so in the future it would allow to select from more than one timer source or different devices, perhaps with compatibility with the old Value Line uCs. How the objective is not to give a perfect time base in us, I'm using ticks of 100us (10kHz) and works very well. The library has delay, getTime, and Timeout functions, the latter two of which are interesting for managing tasks without holding down processing like a normal delay. The example using the EXP430F5529LP use delay_Ms function to toggle 4 times both leds, geTime_ms() to toggle LED1 every 234ms and timeoutCheck_ms() to toggle LED2 every 1s. Feel free to leave your opinions and contribute to the project - Github of project Thank you.
  5. Masterlock Bluetooth Padlock https://youtu.be/zRdovnGruqk
  6. Hi, I think this article will be helpful http://www.embedded.com/electronics-blogs/programmer-s-toolbox/4219659/Integer-Square-Roots#
  7. I received my license.
  8. Rickta59, thanks for share with us. I just purchased the bundle and the MKII bundle to use in the edx course. Now I'm waiting the processing to receive the license.
  9. I performed a new test (removing all jumpers and the sd card) and the time increased to about 60 minutes using the supercap
  10. @@dubnet I removed all jumpers to perform the test, but I don't remember if the SD card was in the slot. I will do new tests and share the results.
  11. Yesterday I noticed that the board is not available in the store. I don't know why, but I was lucky to buy in the first batch. The Out-of-box demo lasts about 40 minutes using the supercap to log in the FRAM.
  12. My launchpad arrived today
  13. The Launchpad MSP-EXP430FR5994 is available in the store Will the new LEA hardware available in other lines like the F serie devices focused in metrology?
  14. 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.
  15. I would like to share with you this library. Is an embedded version of the famous "printf ( )". - https://github.com/agaelema/Embedded_Printf The start point was this post in the e2e where an user share a code. - http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/30479/107146 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). - http://processors.wiki.ti.com/index.php/Printf_support_for_MSP430_CCSTUDIO_compiler 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.