Introduction to ARM LPC2148 Microcontroller

Similar documents
Interconnects, Memory, GPIO

Product Technical Brief S3C2412 Rev 2.2, Apr. 2006

Lab 1 Introduction to Microcontroller

Product Technical Brief S3C2413 Rev 2.2, Apr. 2006

User Manual For CP-JR ARM7 USB-LPC2148 / EXP

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction.

Product Technical Brief S3C2440X Series Rev 2.0, Oct. 2003

8051 Microcontroller

Electro Visits in Primary Care, Schedulling Policies, Modelling and its Analysis

UM10139 Volume 1: LPC214x User Manual

Future Designs, Inc. Your Development Partner LCD DEMO KITS

Infineon C167CR microcontroller, 256 kb external. RAM and 256 kb external (Flash) EEPROM. - Small single-board computer (SBC) with an

Objective: Additional project details: Code: PSEMBP 100 Category:STEM Level: High School/Community C.

The industrial technology is rapidly moving towards ARM based solutions. Keeping this in mind, we are providing a Embedded ARM Training Suite.

TEVATRON TECHNOLOGIES PVT. LTD Embedded! Robotics! IoT! VLSI Design! Projects! Technical Consultancy! Education! STEM! Software!

AVR Microcontrollers Architecture

ATmega128. Introduction

UM10120 Volume 1: LPC213x User Manual

Arduino Uno R3 INTRODUCTION

Advanced Microcontrollers Grzegorz Budzyń Extras: STM32F4Discovery

ARDUINO MEGA INTRODUCTION

UM LPC2101/02/03 User manual. Document information

acret Ameya Centre for Robotics & Embedded Technology Syllabus for Diploma in Embedded Systems (Total Eight Modules-4 Months -320 Hrs.

Product Technical Brief S3C2416 May 2008

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

LPC4370FET256. Features and benefits

Embedded Systems Lab Lab 1 Introduction to Microcontrollers Eng. Dalia A. Awad

AN Migrating to the LPC1700 series

Zigbee Based Remote Controlling System for Operting Modern Appliances

VLSI Design Lab., Konkuk Univ. Yong Beom Cho LSI Design Lab

2-Oct-13. the world s most energy friendly microcontrollers and radios

ARM Cortex-M4 Architecture and Instruction Set 1: Architecture Overview

RFID Based Luggage Tracking System With Security Alerts

NXP AN11528 sensor Application note

Diploma in Embedded Systems

Z8 Encore! XP F0822 Series

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

EE 354 Fall 2015 Lecture 1 Architecture and Introduction

PC87435 Enhanced IPMI Baseboard Management Controller

Getting Started With the Stellaris EK-LM4F120XL LaunchPad Workshop. Version 1.05

Advanced Embedded Systems

AVR XMEGA TM. A New Reference for 8/16-bit Microcontrollers. Ingar Fredriksen AVR Product Marketing Director

Chapter 4. Enhancing ARM7 architecture by embedding RTOS

BV511 Hardware Guide ByVac ByVac Revision 1.0

[MG2420] MCU Module Datasheet. (No. ADS0705) V1.0

联系人黄生 : QQ: General Description The KN02GxxA series are low-cost 32-bit microcontroller with embedded ARM Cortex -M0 core for i

Z8 Encore! XP 4K Series with extended Peripherals

User Manual. LPC-StickView V3.0. for LPC-Stick (LPC2468) LPC2478-Stick LPC3250-Stick. Contents

_ V Intel 8085 Family In-Circuit Emulation. Contents. Technical Notes

Hello, and welcome to this presentation of the STM32L4 power controller. The STM32L4 s power management functions and all power modes will also be

High-Performance 8-Bit Microcontrollers. Up to 8 10-Bit ADC Channels. Two 16-Bit Timers/PWM. Internal Precision Oscillator

PIC Microcontroller Introduction

NXP Microcontrollers Selection Guide

A Low-Cost Energy Management System That Compares Power Consumption of Electronic Home Appliances

AT90SO36 Summary Datasheet

MicroBolt. Microcomputer/Controller Featuring the Philips LPC2106 FEATURES

Freedom FRDM-KV31F Development Platform User s Guide

LPC-MT-2138 development board Users Manual

XMEGA Series Of AVR Processor. Presented by: Manisha Biyani ( ) Shashank Bolia (

ERRATA SHEET INTEGRATED CIRCUITS. Date: 2008 June 2 Document Release: Version 1.6 Device Affected: LPC2468. NXP Semiconductors

AVR Training Board-I. VLSI Design Lab., Konkuk Univ. LSI Design Lab

Agilent N2533A RMP 4.0 Remote Management Processor Data Sheet

Microcontroller basics

PRACTICAL DESIGN TECHNIQUES FOR SENSOR SIGNAL CONDITIONING

Network Embedded Systems Sensor Networks Fall Hardware. Marcus Chang,

Development of Intelligent Vehicle Network for safety Applications

AK-STM32-ETH Development Board

Design and implementation of fingerprint based bank locker system using ARM7 and GSM

Hands on Experience with AVR32

Intelligent Traffic Signal Control System

Computer Hardware Requirements for ERTSs: Microprocessors & Microcontrollers

BLE MODULE SPECIFICATIONS

Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices,

Ultra Low Power Microcontroller - Design Criteria - June 2017

STM32F429 Overview. Steve Miller STMicroelectronics, MMS Applications Team October 26 th 2015

KL03 Product Brief Supports all KL03 devices

LPC2212/ General description. 2. Features and benefits

Microcontroller. BV523 32bit Microcontroller. Product specification. Jun 2011 V0.a. ByVac Page 1 of 8

EB-51 Low-Cost Emulator

Systems Programming. Lecture 4 Z16 Architecture and Programming

An Ethernet Based Control and Monitoring System Using ARM Processor

BIRLA INSTITUTE OF TECHNOLOGY AND SCIENCE, Pilani Pilani Campus

Kinetis KE1xF512 MCUs

User Manual. LPC-StickView V1.1. for LPC-Stick. Contents

Rad-Hard Microcontroller For Space Applications

ZKit-51, 8051 Development Kit

AN10210 Using the Philips 87LPC76x microcontroller as a remote control transmitter

32 bit Micro Experimenter Board Description and Assembly manual

Freescale Semiconductor Inc. Microcontroller Solutions Group. FRDM-KL46Z User s Manual FRDM-KL46Z-UM Rev. 1.0

AT-501 Cortex-A5 System On Module Product Brief

Chapter 15. ARM MCUs Architecture, Programming and Development Tools

FIFTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLOGY-MARCH 2014 EMBEDDED SYSTEMS (Common for CT,CM) [Time: 3 hours] (Maximum marks : 100)

LPC-E2468 development board Users Manual

ZigBee Compliant Platform 2.4G RF Low Power Transceiver Module for IEEE Standard. DATA SHEET Version B

Embedded Systems. Software Development & Education Center. (Design & Development with Various µc)

STM32G0 MCU Series Efficiency at its Best

ARMed for Automotive. Table of Contents. SHARP and ARM Automotive Segments SHARP Target Applications SHARP Devices SHARP Support Network Summary

STM32 Cortex-M3 STM32F STM32L STM32W

TXZ Family M3H Group

StrongARM** SA-110/21285 Evaluation Board

Transcription:

Introduction to ARM LPC2148 Microcontroller Dr.R.Sundaramurthy Department of EIE Pondicherry Engineering College

Features of LPC2148 in a Nut Shell CPU = ARM 7 Core Word Length = 32 Bit ROM = 512 KB RAM = 40KB 2 Parallel Port (P0,P1 29+16 = 45 GPIO) 2 Timers (32 Bit) 4 Compare,4 Capture,6 PWM Interrupts sources = 22 1 Watch Dog Timer 1 RTC 2 ADC (AD0,AD1) 8+6 = 14 Channels (10 Bit) 1 DAC (10 Bit) 2 - I2C-bus, 2 UARTs, 2-SPI/ SSP, 1 USB

8051 (Vs) LPC2148 Feature LPC2148 8051 Word Length 32 Bit 8 Bit ROM 512 KB 4 KB RAM 40 KB 128 Bytes Parallel Port P0,P1 (45 GPIO) P0,P1,P2,P3 (32 GPIO) 2 Timers T0,T1 (32 Bit) Capture, Compare, PWM T0,T1 (16 Bit) (No Extra Features) Interrupts sources 22 6 Watch Dog Timer 1 NIL RTC 1 NIL ADC 2 (AD0,AD1) 8+6 = 14 channels NIL DAC 1 NIL UART 2 1 USB 1 NIL I2C 2 NIL SPI 2 NIL

8051 (Vs) LPC2148

Pin Diagram

Important Features of LPC2148

PACKAGE: 32-bit ARM7TDMI-S microcontroller in a tiny LQFP64 package with 64 Pins MEMORY: 40 kb of on-chip static RAM 512 kb of on-chip flash program memory. SPEED: Max speed upto 60 MHz operation.

ADC Two 10-bit A/D converters(ad0 and AD1) provide a total of 14 analog inputs conversion times as low as 2.44 μs per channel. DAC Single 10-bit D/A converter provides variable analog output.

TIMERS Two 32-bit timers/external event counters Each timer with four capture and four compare channels Six PWM outputs 1 Watchdog timer RTC Low power real-time clock with independent power and dedicated 32 khz clock input.

Serial Interfaces: I2C-bus: Two Fast I2C-bus with 400 kbit/s (I2C0,I2C1) UART communication: Two UARTs (UART0,UART1) SPI (Serial Peripheral Interface) and SSP(Synchronous Serial Port) GPIO: Up to 45 of 5 V tolerant fast general purpose I/O pins in a tiny LQFP64 package.

INTERRUPTS: Total of 22 interrupt Sources Vectored interrupt controller with 16 configurable priorities and vector addresses. Speed : 60 MHz maximum CPU clock speed from programmable on-chip PLL with settling time of 100 μs.

OSCILLATOR: On-chip integrated oscillator operates with an external crystal in range from 1 MHz to 30 MHz Power saving modes: Idle mode Power-down mode CPU operating voltage : Range of 3.0 V to 3.6V (3.3 V ± 10 %) with 5 V tolerant I/O pads.

Other Features: In-System / In-Application Programming (ISP/IAP) via on-chip boot-loader software. USB 2.0 Full Speed compliant Device Controller with 2 kb of endpoint RAM. In addition, the LPC2148 provide 8 kb of onchip RAM accessible to USB by DMA.

Applications of LPC2148 Industrial control Medical systems Access control Point-of-sale Communication gateway Embedded soft modem General purpose applications

Activating LPC2148 Microcontroller

Power Pins Vdd 51 43 23 Vss 50 42 25 18 6

Crystal Main Crystal RTC Crystal Main Crystal 61 62 RTC Crystal 3 5

Recommended Capacitor Values

Reset Pin (Active Low)

ISP (In system Programming) To enable ISP mode on the LPC2148, we need to pull the ISP line (P0.14) low and reset the device. If the LPC2148 detects that P0.14 is low after a reset, it will boot into ISP mode, at which point we can update the device using Flash Magic. Then we simply need to remove the ISP jumper and reset the device again to boot with the newly updated firmware.

LPC2148 Development Board P1 P1.16- P1.23 P2 P1.24- P1.31 P0 P0.8- P0.15

Activation Circuit P0 P0.8- P0.15 P1 P1.16- P1.23 P2 P1.24- P1.31

LPC2148 Bus Architecture

Types of Buses In LPC2148 three types of busses are used to connect the core with other peripherals on chip. 1. Local Bus to connect the onchip memory controllers and fast GPIO s 2. Advance High Performance Bus (AHB) for interrupt controller 3. VLSI Peripheral Bus (VPB) for other onchip peripherals. AHB acts as a bridge for VPB. VPB is mainly meant for connecting slower peripherals with processor.

Bus Architecture

Bus Architecture

Advanced High performance Bus (AHB) The ARM7 core is connected to the Advanced High performance Bus (AHB) This is the Fastest Bus in ARM7 core. Connected to the AHB is the vector interrupt controller and a bridge to a second bus called the VLSI peripheral bus (VPB). Since the Interrupt vector controller is responsible for managing all the device interrupt sources, it is connected to the ARM7 core by the fastest bus.

VLSI Peripheral Bus [VPB] All the user peripherals are connected to the VPB. The VBP bridge contains a clock divider, so the VPB bus can be run at a slower speed than the ARM7 core and the AHB.

Why VPB is operated at Slow Speeds For two reasons First, we can run the user peripherals at a slower clock rate than the main processor to conserve power. Second, it gives Philips the option of adding a slower peripheral to the LPC2000 family without it becoming a bottleneck on the AHB bus.

What is the Optimum speed of VPB Currently all the on-chip peripherals are capable of running at 60MHz so the VPB bus can be set to the same speed as the AHB bus. It is important to note that after reset the VPB divider is set to divide down the AHB clock by four, so all the on-chip peripherals will be running at ¼ the CPU clock frequency.

Local Bus There is a third local bus which is used to connect the on-chip Flash and RAM to the CPU. Connection of the program code and data store to the ARM7 CPU via the AHB bus is possible, but this introduces some execution stalls because of contention on the bus. Using a separate local bus removes the possibility of these stalls to give the best processor performance.

Bus Architecture

SFR Programming in ARM Each underlying SFR is controlled by three user registers. Set register which is used to set bits, Clear register which is used to clear bits by writing a logic 1 to the bits you wish to clear Status register which is used to read the current contents of the register. The most common mistake made when new to the LPC2100 is to write zero into the Clear register which has no effect.

END OF SESSION