written 8.0 years ago by | • modified 8.0 years ago |
Mumbai University > Electronics Engineering > Sem 7 > Embedded System Design
Marks: 10 Marks
Year: May 2016
written 8.0 years ago by | • modified 8.0 years ago |
Mumbai University > Electronics Engineering > Sem 7 > Embedded System Design
Marks: 10 Marks
Year: May 2016
written 8.0 years ago by |
Comparison of CortexM3 and MSP430 architectures:
Clock:
a. MSP430 has two internal oscillators, the digitally-controlled oscillator clock (DCOCLK) and the very low frequency oscillator clock (VLOCLK). There can be locations on the board for two other oscillators, a low frequency crystal oscillator (LFXT1CLK) and a high frequency crystal oscillator (XT2CLK). These four oscillator sources can be used to provide an array of clocks for the CPU and the peripherals.
b. Cortex M3 processor has three functional clock inputs:
Instruction set modes:
a. Cortex M3 is provided with ARM 32 bit instructions, THUMB 16 bit instructions, THUMB-2 instruction. The Thumb-2 instruction set feature requires no state switching between the ARM 32 bit mode and THUMB 16 bit mode. This saves a lot of instruction cycle. Also many data operations can be clubbed in THUMB mode. Thus Cortex M3 supports both 32 bit and 16 bit operation.
b. MSP430 is provided with a limited number of powerful instructions.
Real time capabilities :
a. Cortex M3 is not provided with any real time capabilities. They are generally used for microcontroller profiled application
b. The design of the MSP430 was driven by the need to provide full real-time capability while still exhibiting extremely low power consumption. But to have a true real-time capability, the device must be able to shift from a low-power mode with the CPU off to a fully active mode with the CPU and all other device functions operating nominally in a very short time. This done using the design of system clock.
Low power modes:
a. The Cortex-M3 processor is suitable for low-power designs because of the low gate count. It has power-saving mode support (SLEEPING and SLEEPDEEP).
b. MSP430 has six operating modes, each with different power requirements. Three of these modes are important for battery-powered applications:
Stack processing capabilities:
a. The Cortex-M3 contains two stack pointers, Main Stack Pointer (MSP) and Process Stack Pointer (PSP). They are banked so that only one is visible at a time. With the shadowed stack pointer, stack memory of kernel and user processes can be isolated.
b. The MSP430 is a true stack processor, with most of the seven addressing modes implemented for the stack pointer (SP) as well as the other CPU registers (PC and R4 through R15). The capabilities of the stack include:
On –chip debugging:
a. Cortex M3 supports JTAG or Serial-Wire debug interfaces. CoreSight debugging solution in Cortex M3 allows the processor status or memory contents to be accessed even when the processor is running. It has built-in support for six breakpoints and four watch points.
b. MSP430 devices include an on-chip debug module called Enhanced Emulation Module (EEM) which allows advanced debug features such as hardware breakpoints, watch points, range breakpoints, among others. The module provides different levels of debug features based on the specific device being used.