Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 230763

Forum Post: RE: MSP430G2553: Basic questions to ultra low power systems

$
0
0
Hi, I would suggest to get started with a book about MSP430 basics. There are a couple available like e.g. "MSP430 Microcontroller Basics" from John Davies. After understanding the basic concepts like "active mode" and "sleep mode", interrupt handling vs polling etc. you can get started with the code examples. An easy way is to use the MSP-EXP430G2 launchpad. ( www.ti.com/.../MSP-EXP430G2) This HW is perferct to test and get things started. Code examples, hardware design files and more are available online in our TI Resource Explorer. dev.ti.com/.../ For every MSP430 we provide code examples for the different modules like I2C, SPI, ADC, Clocks, Timer etc. They are a good starting point. To your question regarding I2C, please find more information about the size of the resistor here: http://www.ti.com/lit/slva689 The pull up resistors are mandatory for reliable communication. To your question about the clock frequency. Every MSP can operate with different clock sources. Usually in active mode the CPU runs fast, eg. 8MHz to compute and do whatever it needs to do. After it is finished the CPU is turned off and the MSP goes into low power mode. Here the clock source is switch to a lower frequency e.g. 32kHz. With an internal or external 32kHz clock source and using only one timer sleep times up to 16 s are possible. Please also have a look at Software Coding Techniques for MSP430TM MCUs ( http://www.ti.com/lit/slaa294) to learn more about how to program an MSP430. Best regards, Andre

Viewing all articles
Browse latest Browse all 230763

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>