Introduction To ARM7

This generation introduced the Thumb 16-bit instruction set providing improved code density compared to previous designs. The most widely used ARM7 designs implement the ARMv4T architecture, but some implement ARMv3 or ARMv5TEJ. All these designs use a Von Neumann architecture, thus the few versions comprising a cache do not separate data and instruction caches.

ARM ARCHITECTURE

In this section we will start programming LPC2138 with the brief introduction we had in the previous section. As described earlier in order to start programming LPC 2138 programming, we will start with the architecture of LPC 2138 first and then proceed with the GPIO pins.

ABOUT GPIO

General-purpose input/output (GPIO) is a generic pin on an integrated circuit whose behavior, including whether it is an input or output pin, can be controlled by the user at run time.

ARM

ARM is a family of instruction set architectures for computer processors based on a reduced instruction set computing (RISC) architecture developed by British company ARM Holdings..

mobile computing

A CPU chip is designed for portable computers, it is typically housed in a smaller chip package, but more importantly, in order to run cooler, it uses lower voltages than its desktop counterpart and has more "sleep mode" capability. A mobile processor can be throttled down to different power levels or sections of the chip can be turned off entirely when not in use. Further, the clock frequency may be stepped down under low processor loads. This stepping down conserves power and prolongs battery life..

ARM 7

ARM is the industry's leading supplier of microprocessor technology, offering the widest range of microprocessor cores to address the performance, power and cost requirements for almost all application markets.
Showing posts with label LPC2138 ARCHITECTURE. Show all posts
Showing posts with label LPC2138 ARCHITECTURE. Show all posts

Wednesday, 3 December 2014

INTRODUCTION TO LPC2138 ARCHITECTURE

In this section we will start programming LPC2138 with the brief introduction we had in the previous section. As described earlier in order to start programming LPC 2138 programming, we will start with the architecture of LPC 2138 first and then proceed with the GPIO pins.
               Here, let me remind you one thing as I said one need to have a good knowledge on seeing the data sheet for programming any controller. So in order to verify the more details on LPC2138 please click on the following link. However the things needed during programming will be covered using snapshots.

To start programming being from user level please refer the following link for user manual of LPC2138
http://www.nxp.com/documents/user_manual/UM10120.pdf

The following is the pin diagram of LPC2138:


As we seen in the pin diagram LPC 2138 is a 64 pin IC. In most of the pins each one has multiple functionalities. In here we are going discuss every feature in the 

The following are the minimum requirements to boot up (startup) an ARM7 LPC2138 controller.
The power pins
Oscillator configurations

Power pins:
               LPC 2138 has the following pins in relation with the power supply

V ref (63)    - REFERENCE FOR ADC CONTROL (NORMALLY AS SAME AS THE VBAT EXCEPT WHEN CONTROL NEEDED)
VSSA (59)   - ANALOG GROUND
VDD (51)    - 3.3 V POWER SUPPLY
VssA (50)   - ANALOG GROUND
VBAT (49)   - SUPPLY FOR RTC (3.3V)
VSS (43)     -   0V REFERENCE
Vdd (42)    -   3.3 V POEWR SUPPLY
VSS( 25)    -    0V REF
VDD (23)   -     3.3V POWER SUPPLY
VSS (18)   -     0V REF
 The no of power supplies are more in order provide isolation between the different modules like ADC ,RTC, etc.

To avoid ambiguity of connecting these power supplies to boot up the controller, we will use a easy way by which the power supply complexity is minimized. To refer this check the following figure. In order to provide a power supply by considering the all power supplies we will simply connect the all power pind like below. 

                                                       Fig:   Booting LPC2138

Oscillator configurations:
                                             For the instance as the keil is capable of providing the oscillator frequency required and proteus also provide the facility to follow the prescribed frequency written in the keil compiler we will not bother about the frequency of frequency, however we will discuss them when we realizing the circuit with hardware .


The listed above are the minimum requirement for the booting up of micro controller.