Minimum system design based on MSP430F149

Publisher:快乐旅行Latest update time:2012-04-18 Source: 现代电子技术 Keywords:MSP430 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

O Introduction

A single-chip microcomputer chip combined with necessary external devices, generally including power supply and power switch, reset circuit, crystal oscillator, input and output circuits, can form a minimum system.

The MSP430F149 chip is an ultra-low power microprocessor launched by TI in the United States. It has 60KB+256 bytes of FLASH, 2KB RAM, including basic clock module, watchdog timer, 16-bit timer with 3 capture/compare registers and PWM output, 16-bit timer with 7 capture/compare registers and PWM output, 2 8-bit parallel ports with interrupt function, 4 8-bit parallel ports, analog comparator, 12-bit A/D converter, 2 serial communication interface modules. The MSP430F149 chip has the following features:

1) Low power consumption: When the voltage is 2.2V and the clock frequency is 1MHz, the active mode is 200μA; when the shutdown mode is only 0.1A, it has 5 energy-saving working modes.

2) High-efficiency 16-bit RISC-CPU, 27 instructions, 8MHz clock frequency, instruction cycle time is 125ns, most instructions are completed in one clock cycle; at 32kHz clock frequency, the execution speed of the 16-bit MSP430 microcontroller is higher than the execution speed of a typical 8-bit microcontroller at 20MHz clock frequency.

3) Low voltage power supply, wide operating voltage range: 1.8~3.6V;

4) Flexible clock system: two external clocks and one internal clock;

5) Low clock frequency enables high-speed communication;

6) With serial online programming capability;

7) Powerful interrupt function;

8) Short wake-up time, waking up from low power mode takes only 6μs;

9)ESD protection, strong anti-interference ability;

10) The operating environment temperature range is -40 to +85°C, suitable for industrial environments.

All peripheral modules of the MSP430 series microcontrollers are controlled through special registers, so the programming is relatively simple. During programming development, you can choose assembly or C language programming through a dedicated programmer. IAR has developed a dedicated C430 language for the MSP430 series microcontrollers, which can be directly compiled and debugged through WORKBENCH and C-SPY, which is flexible and easy to use.

1 Overall system design

The minimum system is composed of the basic circuits necessary to ensure the reliable operation of the processor, mainly including power supply circuit, clock circuit, reset circuit, communication interface circuit, and data storage circuit. Its hardware block diagram is shown in Figure 1.

1.1 Power supply circuit

This system requires +5V and +3.3V DC regulated power supplies, of which MSP430Fl49 and some peripheral devices require +3.3V power, and others require +5V power. In this system, +5V DC voltage is used as input voltage, and +3.3V is directly linearly stepped down from +5V. The power supply circuit principle is shown in Figure 2.

1.2 Crystal Oscillator Circuit

The clock module of the MSP430 series microcontroller includes three clock sources: digitally controlled oscillator (DCO), high-speed crystal oscillator and low-speed crystal oscillator. This is to solve the contradiction between the system's requirements for fast data processing and low power consumption. By designing multiple clock sources or designing various working modes for the clock, the clock requirements of real-time applications of certain peripheral components can be solved, such as low-frequency communication, LCD display, timer, counter, etc. The digitally controlled oscillator DCO has been integrated into the MSP430. In the system, only two circuits, high-speed crystal oscillator and low-speed crystal oscillator, need to be designed.

The low-speed crystal oscillator (LFXT1) meets the requirements of low power consumption and the use of a 32.768kHz crystal. The LFXT1 oscillator works in low-frequency mode by default, that is, 32.768kHz, and can also work in high-frequency mode by connecting an external 450kHz to 8MHz high-speed crystal oscillator or ceramic resonator. In this circuit, we use the low-frequency mode, and the crystal oscillator is connected to the MCU via XIN and XOUT with two 22pF capacitors.

The high-speed crystal oscillator is also called the second oscillator XT2. It provides the clock for the MSP430F149 when it works in high-frequency mode. The maximum frequency of XT2 can reach 8MHz. In the system, XT2 uses a 4MHz crystal. XT2 is connected to the MCU through XT2IN and XT2OUT with two 22pF capacitors. The principle is shown in Figure 3.

[page]

1.3 Reset circuit schematic

Manual reset is a commonly used function in minimum systems. This system uses a dedicated reset chip IMP811 to implement manual reset. The principle is shown in Figure 4.

1.4 Communication interface circuit

The communication interface is responsible for exchanging data with the peripheral serial host and supporting printing and other tasks.

Serial communication only requires fewer ports to achieve intercommunication between microcontrollers and PCs, which has incomparable advantages. There are two modes of serial communication: asynchronous mode and synchronous mode. The MSP430 series has USART modules to implement serial communication. In this design, the USART0 module of MSP430F149 communicates with the peripheral serial host through the RS232 serial port.

The EIA-RS232 standard is a serial data transmission bus standard established by the Electronic Industries Association (EIA) of the United States. In the early days, it was used for long-distance data transmission between computers and terminals through telephone lines and modems. With the development of microcomputers and microcontrollers, this communication method is used not only for long distances but also for short distances. In short-distance communication systems, telephone lines and modems are no longer used, but end-to-end connections are made directly. The RS232 standard uses negative logic, and the standard logic "1" corresponds to -5V to -15V level, and the standard logic "0" corresponds to +5V to +15V level. Obviously, the signal level conversion must be performed for communication between the two.

This system is implemented using a dedicated level conversion chip MAX3232. The MAX3232 chip is a level conversion chip produced by MAXIM, which contains two receivers and drivers and has reliable performance. The principle is shown in Figure 5.

1.5 Data storage circuit

The data storage uses a large-capacity E2PROM CAT24WC256. It is a 256K-bit serial CMOS E2PROM, which contains 32768 bytes, each byte is 8 bits. CATALYST's advanced CMOS technology reduces the power consumption of the device. The CAT24WC256 has a 64-byte page write buffer. The device is operated through the I2C bus interface. The principle is shown in Figure 6.

2 Conclusion

The minimum system can be directly used as a core component in engineering and scientific research, and has good versatility and scalability. Based on the minimum system, secondary development and functional expansion can be easily carried out, which can shorten the development cycle and reduce development costs. This article implements the basic functions of the minimum system and introduces the hardware circuits of each module. The minimum system can be appropriately modified and applied to electronic design, computer teaching and scientific research, industrial control and other fields.

Keywords:MSP430 Reference address:Minimum system design based on MSP430F149

Previous article:USB Wireless Data Acquisition System Based on MSP430 and CC2500
Next article:Design of power supply for handheld device based on SP6641

Recommended ReadingLatest update time:2024-11-16 15:31

MSP430 low power consumption principle and its application in sea temperature measurement
The MSP430 series microcontroller is a 16-bit ultra-low power hybrid microcontroller with a reduced instruction set. One of the biggest advantages of using the MSP430 series microcontroller is that it has low power consumption and high integration, which is very suitable for battery-powered and space-constrained workin
[Test Measurement]
MSP430 low power consumption principle and its application in sea temperature measurement
MSP430 IIC bus program
#ifndef _I2C_H #define _I2C_H #define SDA_1        P4OUT|=0x02                    //SDA = 1 #define SDA_0        P4OUT&=~0x02                    //SDA = 0 #define SCL_1        P4OUT|=0x01                    //SCL = 1 #define SCL_0        P4OUT&=~0x01                    //SCL = 0 #define SDA_IN        P4D
[Microcontroller]
MSP430 and graphic LCD display module interface application (reprinted)
OverviewMSP430F149   is one of the ultra-low power controllers in the MSP430 series recently launched by Texas Instruments. The power supply voltage range is 1.8V to 3.6V. It can work with batteries and has a long service life. It is suitable for battery-powered handheld devices. In addition, LCD displays have the c
[Microcontroller]
How to measure the power consumption of MSP430
As we all know, MSP430 is famous for its ultra-low power consumption. However, many users have reported that in actual applications, when measuring the power consumption of MSP430, the measurement results are far from the MSP430 data sheet. In fact, there are two main aspects involved here:   1. How to use MSP430 to
[Microcontroller]
How to measure the power consumption of MSP430
MSP430 controller LCD SED1335 program
Program for MSP430 controller LCD SED1335 //------------------------------------------------------------  //------------------------------------------------------------  #define WC_ADD XBYTE   #define WD_ADD XBYTE   #define RD_ADD XBYTE   #define RB_ADD XBYTE   void INTR(void);  void CLEAR(void); /* 信号输入 x   ,y   */ 
[Microcontroller]
Analysis of the Problems of Implementing RTOS on MSP430 Microcontroller Chip Using uC/OS-II
As an important application of embedded information products, the use and design of single-chip microcomputers are facing new challenges. On the one hand, people have higher and higher requirements for embedded products, and stable, reliable, feature-rich, high-quality and low-cost information products will become p
[Microcontroller]
Analysis of the Problems of Implementing RTOS on MSP430 Microcontroller Chip Using uC/OS-II
MSP430FW42X Non-Magnetic Sensor Water Meter Solution
The MSP30FW42X non-magnetic sensor water meter independently developed by our company has the characteristics of low power consumption (static current is less than 4 microamperes), wide flow measurement range, high accuracy, good stability and consistency. It maintains a high measurement accuracy especially at small
[Industrial Control]
MSP430FW42X Non-Magnetic Sensor Water Meter Solution
Design and implementation of a self-controlled bone orthosis based on MSP430
Since Codivilla reported bone lengthening in 1904, limb lengthening has been developed for more than 100 years. The theory of slow bone regeneration by stretching has been formed and continuously improved. At the same time, limb lengthening devices are also developing continuously. At present, the surgical technique
[Microcontroller]
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号