Texas Instruments manual MSP50C614/MSP50P614 Initialization Codes

Models: MSP50C614

1 414
Download 414 pages 24.44 Kb
Page 372
Image 372

MSP50C614/MSP50P614 Initialization Codes

In any C614 application, it is important for certain components to be located as close as possible to the C614 die or package. These include any of the decoupling capacitors at VDD (0.1 F). It also includes all of the components in the crystal-reference network between OSCIN and OSCOUT (22 pF, 10 MΩ,

32kHz).

6.2MSP50C614/MSP50P614 Initialization Codes

Before any kind of application code can be written, the MSP50C614/ MSP50P614 processor state must be initialized. The initialization code is in- it.asm, where file extension .asm is for an assembly language file.

The entry point to the initialization routine is INIT_DEVICE_614. This entry point must not be called (call INIT_DEVICE_614). A jump to this routine should be used (jmp INIT_DEVICE_614). After the end of initialization, the routine always jumps to the _main, which is the beginning of MSP50P614/ MSP50C614 user code. It is recommended that INIT_DEVICE_614, is per- formed immediately after RESET to ensure that device initialization is always performed at RESET. Users modifying the initialization routine is not recom- mended.

The initialization routine does the following:

-Disables all interrupts.

-Zeros out all accumulators.

-Zeros out all memory.

-Starts oscillators at frequency 8.192 MHz. If CRO_FLAG is 1, then crystal oscillator is started. If CRO_FLAG is 0, then the resistor trim oscillator is started. If resistor trim oscillator is chosen in P614 part, then RESISTOR- TRIM must be defined by the user (this value is written under the P614 part). If the C614 part is used, then the resistor trim is read from I/O location RTRIM (0x2F).

-Delays execution of the core for 200 ms for PLL to stabilize.

-Zeros out system registers.

-Finally jumps to the label _main.

WARNING

If P614 parts are used for development, then the user MUST CHANGE the resistor trim initialization to read from port 02F when switching to the C6xx part.

6-4

Page 372
Image 372
Texas Instruments manual MSP50C614/MSP50P614 Initialization Codes

MSP50C614 specifications

The Texas Instruments MSP50C614 is a microcontroller that belongs to the MSP430 family, renowned for its low power consumption and versatile functionality. Primarily designed for embedded applications, this microcontroller is favored in various industries, including consumer electronics, industrial automation, and healthcare devices.

One of the standout features of the MSP50C614 is its ultra-low power technology, which enables it to operate in various power modes. This makes it ideal for battery-powered applications, where energy efficiency is crucial. The MSP430 architecture allows for a flexible power management system, ensuring that energy is conserved while providing robust performance.

The MSP50C614 is equipped with a 16-bit RISC CPU that delivers high performance while maintaining low power usage. With a maximum clock frequency of 16 MHz, it can execute most instructions in a single cycle, resulting in swift operation and responsive performance. This microcontroller also comes with a generous flash memory capacity, allowing developers to store large amounts of code and data conveniently.

In terms of peripherals, the MSP50C614 is highly versatile. It features a range of digital and analog input/output options, including multiple timers, GPIO ports, and various communication interfaces like UART, SPI, and I2C. This extensive set of peripherals allows for seamless integration with other components and simplifies the design of complex systems.

The integrated 12-bit Analog-to-Digital Converter (ADC) stands out as a valuable characteristic of the MSP50C614. This feature enables the microcontroller to convert physical analog signals into digital data, making it particularly useful for sensing applications and real-time monitoring.

Another noteworthy technology employed in the MSP50C614 is its support for low-voltage operations. With a broad supply voltage range, this microcontroller can function efficiently in diverse environments and is suitable for low-power applications, enhancing its practicality.

Moreover, Texas Instruments provides software support in the form of Code Composer Studio and various libraries that make it easier for developers to program and utilize the MSP50C614 effectively.

In summary, the Texas Instruments MSP50C614 microcontroller is a powerful, low-power solution equipped with the features and technologies necessary for efficient operation in a wide array of applications. Its blend of performance, flexibility, and energy efficiency makes it a popular choice among engineers and designers looking to create innovative, sustainable designs in the rapidly evolving tech landscape.