Jump to content
43oh

agaelema

Members
  • Content Count

    56
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by agaelema

  1. an article about this project has just been published (in Portuguese) https://www.embarcados.com.br/controlando-o-sd16a-do-msp430f2013-pela-i2c/
  2. Hi, I wrote an article (in Portuguese) about how to use the SD16 ADC of MSP43F2013, and to show one practical application I transformed the MSP430F2013 in an I2C 16-bit ADC, similar to ADS1115. In the example, I read the data using one Arduino Nano. Comparing the conversion of SD16 and ADS1115: More details about the project can be found in my Github: https://github.com/agaelema/msp430f20x3_as_i2c_16bit_adc The project is open to further improvements/optimizations and functions.
  3. Yes, you need to use the Code Composer Studio because there is no energia support for this variant.
  4. Hi, I think not because there are is no launchpad using the MSP430F6736, this device is for a specific niche. The Energia project focus on devices used on common development board, like the Arduino project. But you can use the DriverLib to facilitate the programming of the device.
  5. Hi, I posted a question on e2e but I found interesting to ask here too. I'm trying to port the Adafruit MCP4725 library to MSP430 using the Driverlib. I'm testing with launchpad EXP43FR2433 running at 1MHz and I would not want to use interruption to keep the code more portable. The sequence to write some value on DAC is relatively simple. - Set address -> send start -> send write cmd -> send upper byte -> send lower byte -> send stop. Using the following code one byte of the value is lost. msp43x_I2C_setSlaveAddress(EUSCI_B0_BASE, _i2caddr); ms
  6. One "easy way" is increase the sampling rate and use some moving average or exponential moving average. It's possible to use it without increase the sampling, but will interfere a lot in the waveform. Another way is apply some IIR or FIR filter. You can try my DSP library in this post https://forum.43oh.com/topic/10495-dsp-and-math-lib/
  7. Although the MSP430X has 20 bit address capability, it still a 16bit uC because data bus still 16-bit. The increase of bits in address bus allow to access more memory, from 64kB to 1MB. http://ninova.itu.edu.tr/tr/dersler/bilgisayar-bilisim-fakultesi/4142/blg-351/ekkaynaklar?g867878
  8. You can use a pointer of uint16_t to receive the address of the 64bit variable. After, it's just read the value inside the address pointed by the pointer and increment it, repeating the process to read all addresses.
  9. Hi @biza, This two conversions are quite simple to do. Decimal to BCD (considering a number between 0 and 99) - Divide the number by 10 - take te result and shift left 4 places - take the modulo of division (%) by 10 - add the reminder to the left shifted value BCD to Decimal (considering a number between 0 and 99) - Shift right 4 places and multiply by 10 - apply a "AND" opperation between the number and "0xF" to isolate the lowest nible, then, add to last number This video show this: - https://www.youtube.com/watch?v=nieuAryQ2SI
  10. Hi @Tauronts, After read your post I updated an old library (I think it's similar to your library). It's available in this Thread. - http://forum.43oh.com/topic/12976-yet-another-lcd-16x2-library-easy-to-configure/ It works fine on new FR2433 launchpad. My lcd worked with 3.3v, but the contrast is very poor. You can power it with 5V from launchpad, but it can be dangerou without a level converter. If you want to test at your own risk, simply connect the RW pin to GND, so it will always work in write mode, but it's good use a level converter avoiding troubles.
  11. Hi guys, To train the use of some macros I decided to update/improve a 16x2 lcd library (HD44780) that I adapt many years ago. Possible there are other libraries shared here, but I liked how I managed the configuration of ports and pins using some macros. The use of macros made the library more versatile and easy to adap to new projets without the need to change tons of code lines. The same simples example of use is runnig on MSP430G2553 (old value line launchpad) and MSP430FR2433 (the new value line launchpad). I hope it's useful. https://github.com/agaelema/LCD16x2_M
  12. Hi @Rei Vilo, I don't found the library in the page. It's based in the examples from TI?
  13. Thanks @bluehash The main objective is to use this launchpad as part of the embedded system of my thesis related to smart metering. I can solve two problems - A simples interface, like the LCDs present in energy meters - A good amount of flash and mainly of RAM to run signal processing and other things
  14. The Launchpad is available in the store! http://www.ti.com/tool/msp-exp432p4111 I wrote a little review about it LINK
  15. Hi guys, The new Launchpad MSP-EXP432P111 was released some days ago. I bought one and it arrived today . The board use the XMS432P1111 (pre-production version of MSP432) microcontroller, a Cortex M4 with 48MHz, 2MB of flash, 256KB of SRAM (very impressive), 14bit ADC and many other peripherals, like the LCD driver. Apparently, the LCD is the same of other launchpads (eg.: EXP430FR6989), very interesting to understand how to use the LCD driver and develop some projects. The Out-of-Box demo has two modes: - Blink LED, where you can controll the frequency of bli
  16. Hi, The new MSP430FR2433 ValueLine Launchpad is with a promotional price. https://e2e.ti.com/blogs_/b/msp430blog/archive/2017/11/08/introductory-price-of-4-30-for-msp430fr2433-mcu-launchpad-kit?HQS=epd-mcu-msp-vline-fb-blog-LPdiscount-wwe&hootPostID=97a463d63a1e96cbf999f3c7a33c703e It seems to be a good replacement to the old ValueLine G2
  17. Hi everyone, I updated the library adding some functions: - to easily generate sine waves in a array and iteratively - goertzel dft using array data or sample by sample (very interesting because not need an array) Enjoy it Github: https://github.com/agaelema/DSP_and_Math
  18. Hi, I noted this device in july when I updated CCS and do some search in the "Research explorer". Very interesting. There is some examples in the "SimpleLink MSP432 SDK" and one image of the probable launchpad (very interesting).
  19. Hi, I'm working in this library with some useful DSP and math functions (ideally focusing on embedded systems). Currently it's in the initial version with few functions, but I hope to add more in the next update. I prefered to use some structs to save parameters and use just one function to various instances of filters (very versatile). Functions - High Pass Filter (Single pole): Float, fixed and fixed extended version (with more bits to fractional part) - Low Pass Filter (Single Pole): Float, fixed, fixed extended and fixed fast (with some limitations related to cuttof freq
  20. 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 ha
  21. 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.
  22. 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 correc
  23. 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
  24. Masterlock Bluetooth Padlock https://youtu.be/zRdovnGruqk
  25. Hi, I think this article will be helpful http://www.embedded.com/electronics-blogs/programmer-s-toolbox/4219659/Integer-Square-Roots#
×
×
  • Create New...