SlideShare a Scribd company logo
Arm 7 nxp
LPC213x Series Overview
 60 MHz Operation (54MIPS)
 from both on-chip Flash and SRAM
 2 I2C, 2 UARTs, 1 SPI, 1 SPI/ SSP
 Two 8-ch 10-bit ADCs
 One 10-bit DAC
 4 Timers (Capture/Match/PWM/WDT)
 47 I/O pins (5V tolerant)
 3.3V Single-Voltage Supply
 32KHz RTC, BOD, POR
 User-code security
 Real-time Debugging & Trace
 ISP, IAP, Parallel Programmer Support
 Tiny Packages: QFP64 (10 x 10 x 1.4 mm), HVQFN64 (9 x 9 x 0.85 mm)
LPC2131/32/34/36/38 Block Diagram




                                                                                                                                                                                                 RST
                                                                                                                                                                                                       Vdd
                                                                              TRST




                                                                                                                                                                                                             Vss
            8-32KB                            32-512 KB




                                                                                          TMS




                                                                                                            TDO
                                                                                                TCK




                                                                                                                                                                             X1
                                                                                                                                                                                      X2
                                                                                                      TDI
            SRAM                               FLASH

                                                                                                                                                                                       System
                                                                                     Test/Debug                        Trace                               PLL
                                                                                                                                                                                      Functions
        SRAM                                   Memory
                                                                                                ARM 7TDMI-S                                                                          BrownOutDetect
       Controller                             Accelerator                                                                                 System Clock
                                                                                                                                                                                     PowerOnReset
                     Local Bus                                                                                                                    AHB Bus


            32 kHz                                                                   AHB to APB Bridge                                              Vectored Interrupt
                                   Real Time                       Watchdog                                                                             Controller
            Vbat
                                    Clock                           Timer

                                                                                                                                          Advanced Peripheral Bus (APB)



2x I2C             SPI Port               SSP Port                  UART0      UART1                        ADC0/1                DAC      GPIO           Timer0                Timer1                       PWM




                                                                                                                                                                          CAP1.0-3
                                                                                                                                                               MAT0.0-2




                                                                                                                                                                                           MAT1.0-3



                                                                                                                                                                                                             PWM1 - 6
                                                                                                                                                    CAP0.0-2
                                                                                                                               1-10-bit
                                                                     2 pins




                                                                                                            2x8 pins
                                                                                 8 pins
      SDA




                                 SSEL




                                                            SSEL
             SCK


                          MOSI




                                                     MOSI
SCL




                   MISO




                                              MISO




                                                                                                                                           GPIO
                                        SCK
Extending the success to LPC214x

 Same device features as LPC213x

 USB 2.0 device

 Fast GPIO’s

 ADC improvements

 Enhanced UART
64-pin LQFP
LPC2141/42/44/46/48 Block Diagram




                                                                                                                                                                                                        RST
                                                                                                                                                                                                              Vdd
                                                                               TRST




                                                                                                                                                                                                                    Vss
                      8-32KB                        32-512 KB




                                                                                      TMS




                                                                                                            TDO
                                                                                            TCK




                                                                                                                                                                                    X1
                                                                                                                                                                                             X2
                                                                                                      TDI
                      SRAM                           FLASH
Fast                                                                                                                                        System Clock        PLL1                          System
GPI/O                                                                                 Test/Debug                  ETM
                                                                                                                                                                PLL2                         Functions
                                                                                                                                             USB Clock
                  SRAM                             Memory
                                                                                            ARM 7TDMI-S                                                                                     BrownOutDetect
 45 max
   GPIO




                 Controller                       Accelerator                                                                           VIC                                                 PowerOnReset
                               Local Bus                                                                                                       AMBA AHB Bus

                                                                                                                                                                                                              D+
                                                                                                    AHB to                     8 KB SRAM                      USB 2.0 Full                                     D-
  32 kHz                                                                                                                      shared w/ DMA
                        Real Time                       Watchdog                                     APB                                                      Speed Device                                   Up_LED OR
                                                                                                                              (LPC2148 only)                                                                 Connect
   Vbat
                         Clock                           Timer                                      Bridge                                                      w/ DMA                                       Vbus


                                                                                                             Advanced Peripheral Bus (APB)



   I2C 0/1            SPI Port               SSP Port                 UART0                  UART1                ADC0/1            DAC             GPIO         Timer0                Timer1                       PWM




                                                                                                                                                                                 CAP1.0-3
                                                                                                                                                                      MAT0.0-2




                                                                                                                                                                                                  MAT1.0-3



                                                                                                                                                                                                                    PWM1 - 6
                                                                                                                                                           CAP0.0-2
                                                                                                                                 1-10-bit
                                                                                                                   2x8 pins
                                                                      2 pins




                                                                                                  8 pins
          SDA




                                    SSEL




                                                               SSEL
                             MOSI




                                                        MOSI
                SCK
   SCL




                      MISO




                                                 MISO




                                                                                                                                                    GPIO
                                           SCK
NXP Implementation
1.   Memory Addressing
2.   System Control Block
3.   General Purpose I/O / Pin Connect Block
4.   Vectored Interrupt Controller
5.   Integrated Peripherals
        Timer 0 / Timer 1, UART 0 / UART 1, I²C, SPI, PWM, RTC,
        Watchdog, ADC, USB, CAN, Ethernet, SD, IIS, GPDMA
LPC2000 Memory Map
  4.0 GB
           AHB Peripherals                             0xFFFF FFFF
 3.75 GB                                               0xF000 0000
           VPB Peripherals                             0xEFFF FFFF
  3.5 GB                                               0xE000 0000
                                                                        Memory blocks not
                                                                        drawn to scale!
                    Reserved for External Memory
  3.0 GB                                               0x8000 0000

  2.0 GB   Boot Block (re-mapped from On-Chip Flash)
                                                       0x7FFF E000
           16 KB On-Chip Static RAM, USB               0x7FE0 0000
                                                                      RAM on AHB
           16 KB On-Chip Static RAM, ETHERNET          0x7FD0 0000


                     Reserved for On-Chip Memory


           16 / 32 / 64 KB On-Chip Static RAM          0x4000 nnnn*   RAM on local bus
                                                       0x4000 0000     -> fast access !
                                                       0x3FFF FFFF
  1.0 GB

                     Reserved for On-Chip Memory


           8KB ... 1MB On-Chip Non-Volatile Memory     0x000m FFFF
  0.0 GB                                               0x0000 0000

                  Not valid for LPC2888/0
SRAM: 8, 16, 32 or 64 KB

                                                                0x4000FFFF




 64KB SRAM                                                      0x40007FFF



                 32KB SRAM                                      0x40003FFF
                                                 8KB SRAM
                                 16KB SRAM                      0x40001FFF
  RAM Int Vect    RAM Int Vect    RAM Int Vect   RAM Int Vect   0x4000003F
                                                                0x40000000
Exception Vectors

  Vector Table
                           .
                           .
                           .
         0x1C            FIQ
         0x18            IRQ              Valid user program key:
                                          Must contain a value that
         0x14         (Reserved)         ensures that the checksum
                                            of all vectors is zero
         0x10         Data Abort
         0x0C       Prefetch Abort
         0x08     Software Interrupt
         0x04    Undefined Instruction
         0x00           Reset
1.   Memory Addressing
2.   System Control Block
3.   General Purpose I/O / Pin Connect Block
4.   Vectored Interrupt Controller
5.   Integrated Peripherals
        Timer 0 / Timer 1, UART 0 / UART 1, I²C, SPI, PWM, RTC,
        Watchdog, Ethernet, SD, IIS, GPDMA
System Control

  Includes a number of important system features
   – Power Control
   – Memory mapping configuration
   – Oscillator
   – PLL
   – VPB (VLSI Peripheral Bus) divider
   – Reset (active low)
   – Wakeup Timer
   – External Interrupts
Power Control (1)


 • Power Control Register        [PCON – 0xE01FC0C0]                         R/W
 PCON[0]               IDL              Idle mode - processor clock
                                        stopped, on-chip peripherals remain
                                        active, interrupts cause wakeup
 PCON[1]               PD               Power Down mode - oscillator and
                                        on-chip clocks stopped, wakeup by
                                        external interrupt

    20 uA at room            For example 5 mA with most
     temperature,             peripherals powered down
   50 uA with single                                       Biggest factors:
    voltage supply                                     temperature, clock rates
                                                     Peripheral Clock Divider: 20%
Power Control (2)
 • When disabled, peripherals are switched off to conserve power
 • Power Control for            [PCONP – 0xE01FC0C4]                  R/W
   Peripherals Register
 PCONP 1       PCTIM0     Enable Timer0
 PCONP 2       PCTIM1     Enable Timer1
 PCONP 3       PCURT0     Enable UART0
 PCONP 4       PCURT1     Enable UART1            Each peripheral
                                                typically below 1mA
 PCONP 5       PCPWM0 Enable PWM0
 PCONP 7       PCI2C      Enable I2C
 PCONP 8       PCSPI      Enable SPI
 PCONP 9       PCRTC      Enable RTC
 ......
Power Control (3)


 • Power Control for Peripherals Register cont'd
 ...

 PCONP 8     PCSP0    Enable SPI0

 PCONP 9     PCRTC    Enable RTC

 PCONP 10    PCSPI1   Enable SPI1

 PCONP 11    PCEMC    Enable External Memory Controller

 PCONP 12    PCAD     Enable A/D-Converter

 PCONP 13    PCCAN1   Enable CAN Controller 1
                                                          Acceptance Filter
 PCONP 14    PCCAN2   Enable CAN Controller 2             enabled with any
 PCONP 15    PCCAN3   Enable CAN Controller 3
                                                           CAN Controller

 PCONP 16    PCCAN4   Enable CAN Controller 4
                                                            CAN peripheral
                                                          typically below 2mA
Memory Mapping Control 1

  Re-mapping of Exception Vectors
   – always appear to begin at 0x0000 0000
   – but can be mapped from different sources:
      • User Flash
          – Exception Vectors are not re-mapped and reside in Flash




            On-chip Flash Memory




            Active Exception Vectors                         0x0000 003F
                                                             0x0000 0000
Memory Mapping Control (2)
    • Boot Loader
       – Always executed after reset. Exception Vectors re-mapped from Boot Block

    • User RAM
       – Exception Vectors are re-mapped from RAM

                 Off-chip Memory
                                                                   0x8000 0000

                 On-chip User RAM


                                                                   0x4000 0000


                 Boot Loader


                 On-chip User Flash Memory


                 Active Exception Vectors                          0x0000 003F
                                                                   0x0000 0000
Memory Mapping Control (3)

 Re-mapping of Boot Block
  – mapped from top of Flash to top of on-chip memory space
          2.0 GB




                   On-chip User RAM



                   Boot Loader


                   On-chip User Flash Memory


                   Active Exception Vectors              0x0000 003F
                                                         0x0000 0000
Memory Mapping Control Register


 • Memory Mapping Control [MEMMAP – 0xE01FC040]               R/W
 MEMMAP 1:0      MAP 1:0      00: Boot Loader Mode
                              01: User Flash Mode (no re-mapping)
                              10: User RAM Mode
                              11: External Memory

         Selects the memory being mapped to address zero
Phase Locked Loop (1)

  10 to 25 MHz input clock frequency
  Output frequency from 10 MHz up to the max.
  PLL bypassed on reset
  PLL lock indicator can be used as an interrupt to connect the PLL
  once it is locked
  PLL programming requires a special feed sequence (like the
  watchdog) for safety
PLL(for old families LPC21xx and LPC22xx)


                                            156 to 320 MHz                           10 to 60 MHz
                          FOSC              Fosc * 2 * M * P     FCCO                  Fosc * M
XTAL1
                                                     Current                                  cclk
                                      Phase
             Oscillator                             Controlled      ÷ 2P
                                     Detector
                                                    Oscillator
                                                                    Divider
                                                                    Value
        10 to 25 MHz

        1 to 30 MHz                                                                     VPB pclk
        without PLL                    ÷M                                              Divider
                                                                                       ÷ 1/2/4
                                                                        Default: 4
           P:=1..8               Multiplier Value
           M:=1..32
General Purpose I/O (1)
 Pins available for GPIO:

 LPC21xx/22xx
  – 48-pin devices:           32
  – 64-pin devices:           46
  – 144 pin devices:          76 (max.)      (with external memory)
                              112            (w/o external memory)

 LPC23xx/24xx
  – Up to 160 GPIO pins, all implemented as fast GPIOs, with 64 GPIO
    interrupts (plus 4 other external interrupts).

 Shared with
  – Alternate functions of all peripherals
  – Data/address bus and strobe signals for external memories
1.   Memory Addressing
2.   System Control Block
3.   General Purpose I/O / Pin Connect Block
4.   Vectored Interrupt Controller
5.   Integrated Peripherals
        Timer 0 / Timer 1, UART 0 / UART 1, I²C, SPI, PWM, RTC,
        Watchdog, Ethernet, SD, IIS, GPDMA
General Purpose I/O (2)


 Direction control of individual bits

 Separate set and clear registers

 Pin value and output register can be read separately

 Slew rate controlled outputs (10 ns)

 5 registers used to control I/Os
General Purpose I/O (3)
 Register
   IOPIN     The current state of the port pins is read from this register


  IOSET      Writing "1" sets pins high, writing "0" has no effect


  IOCLR      Writing "1" sets pins low and clears corresponding bits in IOSET

             Port pin direction: 0 = INPUT 1 = OUTPUT
   IODIR

             Selects function of pins (Pin Connect Block)
 PINSEL0/1
Pin Connect Block (1)

  Many on-chip functions can use I/O pins
  Number of I/O-pins is limited
   I/Os can be configured to adapt various functions

  Configuration done by Pin Connect Block


                                     GPIO
                                     UART
                 PIN
                                     Timer/Counter
                                     reserved


                                            PINSEL0/1/2
Pin Connect Block (2)
  Pin Function Select Registers
   – PINSEL0 and PINSEL1
      • Configuration of P0
      • Assign P0.0 ... P0.31 to GPIO or an alternate function
        (1 of max. 3)

   – PINSEL2                   (not available in 48-pin devices)
      • Configuration of P1 (64/144-pin devices) and P2, P3 (144-pin devices)
      • Select availability of debug and trace ports on Port1 pins
      • Controls use of address/data bus and strobe pins (144-pin
        devices)
      • Selection of additional ADC-inputs              (144-pin devices)
Pin Connect Block (3)

 Example:
• Pin Function Select Register 0 [PINSEL0 - 0xE002C000)] R/W

         ...            ...                  ...

 PINSEL0 21:20     P0.10      00: GPIO Port 0.10
                              01: RTS (UART1)
                              10: Capture 1.0 (Timer 1)
                              11: reserved
         ...            ...                  ...
1.   Memory Addressing
2.   System Control Block
3.   General Purpose I/O / Pin Connect Block
4.   Vectored Interrupt Controller
5.   Integrated Peripherals
        Timer 0 / Timer 1, UART 0 / UART 1, I²C, SPI, PWM, RTC,
        Watchdog, Ethernet, SD, IIS, GPDMA
Vectored Interrupt Controller


  ARM PrimeCell™
  32 interrupt request inputs
  16 IRQ interrupts can be auto-vectored
   – single instruction vectoring to ISR
   – dynamic software priority assignment

  16 FIQ non-vectored interrupts
  Software interrupts
IRQ Interrupts
                                           Vectored
                                           Interrupt         FIQ     ARM-Core
                                           Controller
                                                            IRQ
             Timer         Interrupt
                                       Channel #4
           (Overflow)

                                                             VIC
                                                            Vector
                                                           Address
                                       Channel #16

                           Exception
                            Vector
                             Table

                             0x1C
        Main                 0x18                 Timer-
                             0x14                  ISR
                             ...

  CONST = 0x0FF for LPC21xx, and LPC22xx
          0x120 for LPC23xx, and LPC24xx
VIC - FIQ Interrupt

 FIQs have higher priority than IRQs
  – Serviced first
  – FIQs disable IRQs


 FIQ Vector is last in vector table (allows handler to be run
 sequentially from that address)

 FIQ mode has 5 extra banked registers, r8-12 (interrupt
 handlers must always preserve non-banked registers)
1.   Memory Addressing
2.   System Control Block
3.   General Purpose I/O / Pin Connect Block
4.   Vectored Interrupt Controller
5.   Integrated Peripherals
        Timer 0 / Timer 1, UART 0 / UART 1, I²C, SPI, PWM, RTC,
        Watchdog, Ethernet, SD, IIS, GPDMA
ADC
A/D Converter
Features
   – 10 bit successive approximation analog to digital converter
   – Multiplexed inputs
       • 4 pins        (64-pin devices)
       • 8 pins        (144-pin devices)
   – Power down mode
   – Measurement range 0V ... 3V
   – Minimum 10 bit conversion time: 2.44 µs
   – Burst conversion mode for single or multiple inputs
   – Optional conversion on transition on input pin or Timer Match signal
   – Programmable divider to generate required 4.5MHz from VPB clock
A/D Converter – Burst mode

  CLKS: bit 17, 18, 19 of ADCR select the number of
  clocks used per conversion and the accuracy
   – 000b: 11 clocks, 10 bits
   – 001b: 10 clocks, 9 bits
   – 010b: 9 clocks, 8 bits
   – 011b: 8 clocks, 7 bits
   –…
   – 111b: 4 clocks, 3 bits
ADC LPC213x/01, LPC214x

 Separate result register for each channel
  – Reduces the interrupt overhead by a factor of 8

 Measurement range of 0 V to 3 V
  – Separate voltage pins for analogue 3V supply (V3A) and
    analogue ground (VSSA)
ADC – Software Controlled Mode

  All conversions are 10-bit and take 11 clocks

  4.5MHz Maximum Clock

  Allows conversion to start on an external edge
    ADC Inputs
   7 6 5 4 3 2 1 0

                                                   ADDR0



                                                   ADDR1
     Select Single           10-bit ADC
       Channel              (11 Clocks/Conv)
      ADCR (7:0)

                                                   ADDR7
     V3A    VSSA
ADC – Burst Mode

  Result accuracy and speed are programmable

  Input selected by the SEL bits are scanned

    ADC Inputs


                                                         ADC Clock
                                                          (CLKS Bits)



                             1-8
  Select Multiple Channels                               n-bit ADC
         ADCR (7:0)                   Input Scan        (n Clocks/Conv)
                                        (SEL Bits)




                                       ADDR0         ADDR1                ADDR7
DAC
DAC   (LPC213x, LPC214x, LPC23xx, LPC24xx   )
 – Enables the device to generate a variable analog output

 – 10-bit resolution DAC with a buffered output
      • Last output value is held as long as DAC is on

 – Register string architecture

 – Output from Zero Volt to Reference Voltage in 1024 steps

 – Selectable Conversion speed vs. power
      • Settling time 1us, up to 350uA
      • Settling time 2.5us, up to 700uA

 – Selective power down
•TIMERS
•PWMs
•RTC
•WATCHDOG
Timers

 Timer can be used to control the sequence of an
 event or process
Timer 0 and 1


  32-bit Timer
  32-bit Capture Registers and Capture Pins
   – Four on each timer         (48-pin devices three on Timer 0 and four on Timer 1)

   – Capture event can optionally trigger an interrupt

  32-bit Match Registers and Match Pins
   – Four on each timer         (48-pin devices three on Timer 0 and four on Timer 1)

   – Interrupt, timer reset or timer halt on match
   – Match output can toggle, go high, go low or do nothing
Timer Capture


                       Control
                                        Capture Control Register
                    Capture Input 0
                                           Interrupt Register
                    Capture Input 1                                Timer Control Register




                                                                                   ENABLE
                                                                    RESET
                    Capture Input 2
                                           Capture Register 0
                    Capture Input 3*
                                           Capture Register 1
                                Load                               32-bit Timer/Counter
                                           Capture Register 2

                                           Capture Register 3*
          Interrupt                                                 32-bit Pre-Scaler


                                                                            PCLK
*: not available in 48-pin devices
Pulse Width Modulator

  Dedicated 32-bit PWM timer
   – similar functionality to Timer0 / Timer1

  Three additional match registers for a total of 7
   – all PWM outputs have the same rate, which is programmable
   – allows up to 6 single edge controlled or 3 double edge controlled
     PWM outputs in any combination
Single-Edge Controlled PWM
 PWM outputs all go high at the beginning of each cycle and go low
 on a Match

   Match Register 0 Value
  Compare (Match) Value z
  Compare (Match) Value y
  Compare (Match) Value x
              0000 0000h

                 PWMx


                 PWMy


                 PWMz
Double-Edge Controlled PWM
    Double edge controlled PWM outputs can have either edge occur
    at any position within a cycle
 Match Register 0 Value (100)
               (PWM Period)
           MR5=65 (PWM5)
   MR3=53, MR4=27 (PWM4)
   MR1=41, MR2=78 (PWM2)

                 0000 0000h

                 PWM2


                 PWM4


                 PWM5                                  (single-edge)
Real Time Clock (RTC)

 Full Clock/Calendar function with alarms
  – Dedicated 32-bit timer with 32-bit pre-scaler
  – Generates its own 32.768 kHz reference clock from any
    crystal frequency (Prescaler values need to be calculated)
  – Counts seconds, minutes, hours, day of month, month,
    year, day of week and day of year
  – Can generate an interrupt or set an alarm flag for any
    combination of the counters
Real Time Clock on newer devices

 Can be clocked by a separate 32.768KHz or by
 prescaler divider based on VPB clock
 => RTC can run in Power Down mode



 Separate supply pin Vbat which can be connected to
 battery or to the 3.3V supply
RTC Block Diagram

                         PCLK*


  RTC Oscillator      Reference
    (certain         Clock Divider
  devices only)       (prescaler)



                   MUX
                         32.768KHz
                                           Time                                           Alarm
                                                               Comparators
               Clock
                                         Counters                                        Registers
              Generator




         The Counter                                       Interrupt Generator
        Increment can
      cause an interrupt

                                     * keep in mind what the settings are for PLL and the VPB Divider
Watchdog Timer

  Once activated, the Watchdog will reset the entire chip if it is not
  fed regularly
  Feed is accomplished by a specific sequence of data writes
  Watchdog flag allows software to tell that a watchdog reset has
  occurred
  Selectable overflow time     (µs ... minutes)
  Debug Mode generates an interrupt instead of a reset
  Secure: watchdog cannot be turned off once it is enabled
  Watchdog Timer value can be read in one cycle
Helpful hints and links
Microcontroller Web Site
       www.nxp.com/microcontrollers
Product Link
LPC2000 User’s Group – The #1 active
microcontroller group on Yahoo




   http://groups.yahoo.com/group/lpc2000/
Conclusion
 ARM7 is an open architecture

 On-Board Peripherals features, Advantages
 ARM7TDMI-S.

 Protocols Features.
Queries…………
Arm 7 nxp

More Related Content

PPTX
Timer counter in arm7(lpc2148)
PPTX
Microprocessor & Micro-controller
PPSX
VLSI Testing Techniques
PDF
Programmable Peripheral Interface 8255
PPTX
Adaptive delta modulation
PPTX
Windowing techniques of fir filter design
PDF
7.Active Filters using Opamp
PPTX
Eye diagram in Communication
Timer counter in arm7(lpc2148)
Microprocessor & Micro-controller
VLSI Testing Techniques
Programmable Peripheral Interface 8255
Adaptive delta modulation
Windowing techniques of fir filter design
7.Active Filters using Opamp
Eye diagram in Communication

What's hot (20)

PDF
Keypad Interfacing with 8051 Microcontroller
PPTX
ARM- Programmer's Model
PPTX
Comparison of Amplitude Modulation Techniques.pptx
PPTX
Transmission system used for optical fibers
PPTX
ARM Processors
PPTX
Architecture of 8051
PDF
Introduction to ARM LPC2148
DOCX
Arm7 Interfacing examples
PPTX
Low pass filters
PPT
Introduction to microprocessor
PPTX
Introduction to embedded systems
PPTX
8257 DMA Controller
PPT
Microprocessor ppt
PPTX
microcontroller vs microprocessor
PDF
Unit II Arm 7 Introduction
PPTX
1. elementary signals
PPT
Architecture of 8086 Microprocessor
PPTX
Pre-emphasis and de-emphasis circuits
PPTX
Pll ppt
Keypad Interfacing with 8051 Microcontroller
ARM- Programmer's Model
Comparison of Amplitude Modulation Techniques.pptx
Transmission system used for optical fibers
ARM Processors
Architecture of 8051
Introduction to ARM LPC2148
Arm7 Interfacing examples
Low pass filters
Introduction to microprocessor
Introduction to embedded systems
8257 DMA Controller
Microprocessor ppt
microcontroller vs microprocessor
Unit II Arm 7 Introduction
1. elementary signals
Architecture of 8086 Microprocessor
Pre-emphasis and de-emphasis circuits
Pll ppt
Ad

Viewers also liked (20)

PPTX
Pll in lpc2148
PPTX
LPC 2148 ARM MICROCONTROLLER
PPTX
arm complete detail part 2
PDF
Arm embedded web server based on dac system
PDF
4 bit lcd_interfacing_with_arm7_primer
PPTX
EMBEDDED WEB SERVER
PPT
Armwebserver
PDF
Lpc2148 user peripherals
PDF
Embest s3 cev40 _neomore
PDF
Design and implementation of an ancrchitecture of embedded web server for wir...
PDF
Efficiente mail
PPT
The x86 Family
PPT
Microprocessors and controllers
DOC
Warren Jones Langham Hilton Executive Chef
PPTX
COMPLETE DETAIL OF ARM PART 3
PDF
Llpc2148 sci
PPT
Overview of LPC214x MCUs
PPTX
ARM COMPLETE DETAIL PART 4
PDF
ARM based protection system for induction motor against faults
PPT
Processing Devices
Pll in lpc2148
LPC 2148 ARM MICROCONTROLLER
arm complete detail part 2
Arm embedded web server based on dac system
4 bit lcd_interfacing_with_arm7_primer
EMBEDDED WEB SERVER
Armwebserver
Lpc2148 user peripherals
Embest s3 cev40 _neomore
Design and implementation of an ancrchitecture of embedded web server for wir...
Efficiente mail
The x86 Family
Microprocessors and controllers
Warren Jones Langham Hilton Executive Chef
COMPLETE DETAIL OF ARM PART 3
Llpc2148 sci
Overview of LPC214x MCUs
ARM COMPLETE DETAIL PART 4
ARM based protection system for induction motor against faults
Processing Devices
Ad

Similar to Arm 7 nxp (20)

PDF
PDF
At90usb64x at90usb128x userguide
PDF
At mega16 summary
PDF
Meta88full
PPT
Architecture of tms320 f2812
PDF
Embedded Solutions 2010 : ARM-Cortex Based MCU's , by ARROW-ISRAEL
PPT
Project10 presentation
PDF
Satellite communication system
PDF
Yang greenstein part_2
PDF
Verification of Graphics ASICs (Part II)
PDF
Building a multi protocol broker for the internet of things using nodejs
PPSX
GGTronics ssdac
PPT
Tms320F2812 Digital I/0
PDF
PDF
Ad9850
PDF
Ad9850
PPTX
microprocessor
PDF
Pasolink Neo Training Doc
PPT
Lec12 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- P6, Netbur...
At90usb64x at90usb128x userguide
At mega16 summary
Meta88full
Architecture of tms320 f2812
Embedded Solutions 2010 : ARM-Cortex Based MCU's , by ARROW-ISRAEL
Project10 presentation
Satellite communication system
Yang greenstein part_2
Verification of Graphics ASICs (Part II)
Building a multi protocol broker for the internet of things using nodejs
GGTronics ssdac
Tms320F2812 Digital I/0
Ad9850
Ad9850
microprocessor
Pasolink Neo Training Doc
Lec12 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- P6, Netbur...

More from Pantech ProLabs India Pvt Ltd (20)

PDF
Registration process
PPTX
Choosing the right processor for embedded system design
PPT
Brain Computer Interface
PPTX
Electric Vehicle Design using Matlab
PPTX
Image processing application
PPTX
Internet of Things using Raspberry Pi
PPTX
Internet of Things Using Arduino
PPTX
Brain controlled robot
PPTX
Brain Computer Interface-Webinar
PPTX
Development of Deep Learning Architecture
PPTX
Gate driver design and inductance fabrication
PPTX
Brainsense -Brain computer Interface
PPT
Median filter Implementation using TMS320C6745
PPT
Introduction to Code Composer Studio 4
PPT
Waveform Generation Using TMS320C6745 DSP
PPT
Interfacing UART with tms320C6745
PPT
Switch & LED using TMS320C6745 DSP
PPT
Led blinking using TMS320C6745
PPT
Introduction to tms320c6745 dsp
Registration process
Choosing the right processor for embedded system design
Brain Computer Interface
Electric Vehicle Design using Matlab
Image processing application
Internet of Things using Raspberry Pi
Internet of Things Using Arduino
Brain controlled robot
Brain Computer Interface-Webinar
Development of Deep Learning Architecture
Gate driver design and inductance fabrication
Brainsense -Brain computer Interface
Median filter Implementation using TMS320C6745
Introduction to Code Composer Studio 4
Waveform Generation Using TMS320C6745 DSP
Interfacing UART with tms320C6745
Switch & LED using TMS320C6745 DSP
Led blinking using TMS320C6745
Introduction to tms320c6745 dsp

Recently uploaded (20)

PDF
Classroom Observation Tools for Teachers
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Pre independence Education in Inndia.pdf
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Complications of Minimal Access Surgery at WLH
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
master seminar digital applications in india
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
01-Introduction-to-Information-Management.pdf
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
Pharma ospi slides which help in ospi learning
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Cell Structure & Organelles in detailed.
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Business Ethics Teaching Materials for college
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
Classroom Observation Tools for Teachers
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
O5-L3 Freight Transport Ops (International) V1.pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Pre independence Education in Inndia.pdf
TR - Agricultural Crops Production NC III.pdf
Complications of Minimal Access Surgery at WLH
Microbial disease of the cardiovascular and lymphatic systems
master seminar digital applications in india
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
01-Introduction-to-Information-Management.pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Pharma ospi slides which help in ospi learning
Final Presentation General Medicine 03-08-2024.pptx
Cell Structure & Organelles in detailed.
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
Module 4: Burden of Disease Tutorial Slides S2 2025
Business Ethics Teaching Materials for college
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
Mark Klimek Lecture Notes_240423 revision books _173037.pdf

Arm 7 nxp

  • 2. LPC213x Series Overview 60 MHz Operation (54MIPS) from both on-chip Flash and SRAM 2 I2C, 2 UARTs, 1 SPI, 1 SPI/ SSP Two 8-ch 10-bit ADCs One 10-bit DAC 4 Timers (Capture/Match/PWM/WDT) 47 I/O pins (5V tolerant) 3.3V Single-Voltage Supply 32KHz RTC, BOD, POR User-code security Real-time Debugging & Trace ISP, IAP, Parallel Programmer Support Tiny Packages: QFP64 (10 x 10 x 1.4 mm), HVQFN64 (9 x 9 x 0.85 mm)
  • 3. LPC2131/32/34/36/38 Block Diagram RST Vdd TRST Vss 8-32KB 32-512 KB TMS TDO TCK X1 X2 TDI SRAM FLASH System Test/Debug Trace PLL Functions SRAM Memory ARM 7TDMI-S BrownOutDetect Controller Accelerator System Clock PowerOnReset Local Bus AHB Bus 32 kHz AHB to APB Bridge Vectored Interrupt Real Time Watchdog Controller Vbat Clock Timer Advanced Peripheral Bus (APB) 2x I2C SPI Port SSP Port UART0 UART1 ADC0/1 DAC GPIO Timer0 Timer1 PWM CAP1.0-3 MAT0.0-2 MAT1.0-3 PWM1 - 6 CAP0.0-2 1-10-bit 2 pins 2x8 pins 8 pins SDA SSEL SSEL SCK MOSI MOSI SCL MISO MISO GPIO SCK
  • 4. Extending the success to LPC214x Same device features as LPC213x USB 2.0 device Fast GPIO’s ADC improvements Enhanced UART
  • 5. 64-pin LQFP LPC2141/42/44/46/48 Block Diagram RST Vdd TRST Vss 8-32KB 32-512 KB TMS TDO TCK X1 X2 TDI SRAM FLASH Fast System Clock PLL1 System GPI/O Test/Debug ETM PLL2 Functions USB Clock SRAM Memory ARM 7TDMI-S BrownOutDetect 45 max GPIO Controller Accelerator VIC PowerOnReset Local Bus AMBA AHB Bus D+ AHB to 8 KB SRAM USB 2.0 Full D- 32 kHz shared w/ DMA Real Time Watchdog APB Speed Device Up_LED OR (LPC2148 only) Connect Vbat Clock Timer Bridge w/ DMA Vbus Advanced Peripheral Bus (APB) I2C 0/1 SPI Port SSP Port UART0 UART1 ADC0/1 DAC GPIO Timer0 Timer1 PWM CAP1.0-3 MAT0.0-2 MAT1.0-3 PWM1 - 6 CAP0.0-2 1-10-bit 2x8 pins 2 pins 8 pins SDA SSEL SSEL MOSI MOSI SCK SCL MISO MISO GPIO SCK
  • 6. NXP Implementation 1. Memory Addressing 2. System Control Block 3. General Purpose I/O / Pin Connect Block 4. Vectored Interrupt Controller 5. Integrated Peripherals Timer 0 / Timer 1, UART 0 / UART 1, I²C, SPI, PWM, RTC, Watchdog, ADC, USB, CAN, Ethernet, SD, IIS, GPDMA
  • 7. LPC2000 Memory Map 4.0 GB AHB Peripherals 0xFFFF FFFF 3.75 GB 0xF000 0000 VPB Peripherals 0xEFFF FFFF 3.5 GB 0xE000 0000 Memory blocks not drawn to scale! Reserved for External Memory 3.0 GB 0x8000 0000 2.0 GB Boot Block (re-mapped from On-Chip Flash) 0x7FFF E000 16 KB On-Chip Static RAM, USB 0x7FE0 0000 RAM on AHB 16 KB On-Chip Static RAM, ETHERNET 0x7FD0 0000 Reserved for On-Chip Memory 16 / 32 / 64 KB On-Chip Static RAM 0x4000 nnnn* RAM on local bus 0x4000 0000 -> fast access ! 0x3FFF FFFF 1.0 GB Reserved for On-Chip Memory 8KB ... 1MB On-Chip Non-Volatile Memory 0x000m FFFF 0.0 GB 0x0000 0000 Not valid for LPC2888/0
  • 8. SRAM: 8, 16, 32 or 64 KB 0x4000FFFF 64KB SRAM 0x40007FFF 32KB SRAM 0x40003FFF 8KB SRAM 16KB SRAM 0x40001FFF RAM Int Vect RAM Int Vect RAM Int Vect RAM Int Vect 0x4000003F 0x40000000
  • 9. Exception Vectors Vector Table . . . 0x1C FIQ 0x18 IRQ Valid user program key: Must contain a value that 0x14 (Reserved) ensures that the checksum of all vectors is zero 0x10 Data Abort 0x0C Prefetch Abort 0x08 Software Interrupt 0x04 Undefined Instruction 0x00 Reset
  • 10. 1. Memory Addressing 2. System Control Block 3. General Purpose I/O / Pin Connect Block 4. Vectored Interrupt Controller 5. Integrated Peripherals Timer 0 / Timer 1, UART 0 / UART 1, I²C, SPI, PWM, RTC, Watchdog, Ethernet, SD, IIS, GPDMA
  • 11. System Control Includes a number of important system features – Power Control – Memory mapping configuration – Oscillator – PLL – VPB (VLSI Peripheral Bus) divider – Reset (active low) – Wakeup Timer – External Interrupts
  • 12. Power Control (1) • Power Control Register [PCON – 0xE01FC0C0] R/W PCON[0] IDL Idle mode - processor clock stopped, on-chip peripherals remain active, interrupts cause wakeup PCON[1] PD Power Down mode - oscillator and on-chip clocks stopped, wakeup by external interrupt 20 uA at room For example 5 mA with most temperature, peripherals powered down 50 uA with single Biggest factors: voltage supply temperature, clock rates Peripheral Clock Divider: 20%
  • 13. Power Control (2) • When disabled, peripherals are switched off to conserve power • Power Control for [PCONP – 0xE01FC0C4] R/W Peripherals Register PCONP 1 PCTIM0 Enable Timer0 PCONP 2 PCTIM1 Enable Timer1 PCONP 3 PCURT0 Enable UART0 PCONP 4 PCURT1 Enable UART1 Each peripheral typically below 1mA PCONP 5 PCPWM0 Enable PWM0 PCONP 7 PCI2C Enable I2C PCONP 8 PCSPI Enable SPI PCONP 9 PCRTC Enable RTC ......
  • 14. Power Control (3) • Power Control for Peripherals Register cont'd ... PCONP 8 PCSP0 Enable SPI0 PCONP 9 PCRTC Enable RTC PCONP 10 PCSPI1 Enable SPI1 PCONP 11 PCEMC Enable External Memory Controller PCONP 12 PCAD Enable A/D-Converter PCONP 13 PCCAN1 Enable CAN Controller 1 Acceptance Filter PCONP 14 PCCAN2 Enable CAN Controller 2 enabled with any PCONP 15 PCCAN3 Enable CAN Controller 3 CAN Controller PCONP 16 PCCAN4 Enable CAN Controller 4 CAN peripheral typically below 2mA
  • 15. Memory Mapping Control 1 Re-mapping of Exception Vectors – always appear to begin at 0x0000 0000 – but can be mapped from different sources: • User Flash – Exception Vectors are not re-mapped and reside in Flash On-chip Flash Memory Active Exception Vectors 0x0000 003F 0x0000 0000
  • 16. Memory Mapping Control (2) • Boot Loader – Always executed after reset. Exception Vectors re-mapped from Boot Block • User RAM – Exception Vectors are re-mapped from RAM Off-chip Memory 0x8000 0000 On-chip User RAM 0x4000 0000 Boot Loader On-chip User Flash Memory Active Exception Vectors 0x0000 003F 0x0000 0000
  • 17. Memory Mapping Control (3) Re-mapping of Boot Block – mapped from top of Flash to top of on-chip memory space 2.0 GB On-chip User RAM Boot Loader On-chip User Flash Memory Active Exception Vectors 0x0000 003F 0x0000 0000
  • 18. Memory Mapping Control Register • Memory Mapping Control [MEMMAP – 0xE01FC040] R/W MEMMAP 1:0 MAP 1:0 00: Boot Loader Mode 01: User Flash Mode (no re-mapping) 10: User RAM Mode 11: External Memory Selects the memory being mapped to address zero
  • 19. Phase Locked Loop (1) 10 to 25 MHz input clock frequency Output frequency from 10 MHz up to the max. PLL bypassed on reset PLL lock indicator can be used as an interrupt to connect the PLL once it is locked PLL programming requires a special feed sequence (like the watchdog) for safety
  • 20. PLL(for old families LPC21xx and LPC22xx) 156 to 320 MHz 10 to 60 MHz FOSC Fosc * 2 * M * P FCCO Fosc * M XTAL1 Current cclk Phase Oscillator Controlled ÷ 2P Detector Oscillator Divider Value 10 to 25 MHz 1 to 30 MHz VPB pclk without PLL ÷M Divider ÷ 1/2/4 Default: 4 P:=1..8 Multiplier Value M:=1..32
  • 21. General Purpose I/O (1) Pins available for GPIO: LPC21xx/22xx – 48-pin devices: 32 – 64-pin devices: 46 – 144 pin devices: 76 (max.) (with external memory) 112 (w/o external memory) LPC23xx/24xx – Up to 160 GPIO pins, all implemented as fast GPIOs, with 64 GPIO interrupts (plus 4 other external interrupts). Shared with – Alternate functions of all peripherals – Data/address bus and strobe signals for external memories
  • 22. 1. Memory Addressing 2. System Control Block 3. General Purpose I/O / Pin Connect Block 4. Vectored Interrupt Controller 5. Integrated Peripherals Timer 0 / Timer 1, UART 0 / UART 1, I²C, SPI, PWM, RTC, Watchdog, Ethernet, SD, IIS, GPDMA
  • 23. General Purpose I/O (2) Direction control of individual bits Separate set and clear registers Pin value and output register can be read separately Slew rate controlled outputs (10 ns) 5 registers used to control I/Os
  • 24. General Purpose I/O (3) Register IOPIN The current state of the port pins is read from this register IOSET Writing "1" sets pins high, writing "0" has no effect IOCLR Writing "1" sets pins low and clears corresponding bits in IOSET Port pin direction: 0 = INPUT 1 = OUTPUT IODIR Selects function of pins (Pin Connect Block) PINSEL0/1
  • 25. Pin Connect Block (1) Many on-chip functions can use I/O pins Number of I/O-pins is limited  I/Os can be configured to adapt various functions Configuration done by Pin Connect Block GPIO UART PIN Timer/Counter reserved PINSEL0/1/2
  • 26. Pin Connect Block (2) Pin Function Select Registers – PINSEL0 and PINSEL1 • Configuration of P0 • Assign P0.0 ... P0.31 to GPIO or an alternate function (1 of max. 3) – PINSEL2 (not available in 48-pin devices) • Configuration of P1 (64/144-pin devices) and P2, P3 (144-pin devices) • Select availability of debug and trace ports on Port1 pins • Controls use of address/data bus and strobe pins (144-pin devices) • Selection of additional ADC-inputs (144-pin devices)
  • 27. Pin Connect Block (3) Example: • Pin Function Select Register 0 [PINSEL0 - 0xE002C000)] R/W ... ... ... PINSEL0 21:20 P0.10 00: GPIO Port 0.10 01: RTS (UART1) 10: Capture 1.0 (Timer 1) 11: reserved ... ... ...
  • 28. 1. Memory Addressing 2. System Control Block 3. General Purpose I/O / Pin Connect Block 4. Vectored Interrupt Controller 5. Integrated Peripherals Timer 0 / Timer 1, UART 0 / UART 1, I²C, SPI, PWM, RTC, Watchdog, Ethernet, SD, IIS, GPDMA
  • 29. Vectored Interrupt Controller ARM PrimeCell™ 32 interrupt request inputs 16 IRQ interrupts can be auto-vectored – single instruction vectoring to ISR – dynamic software priority assignment 16 FIQ non-vectored interrupts Software interrupts
  • 30. IRQ Interrupts Vectored Interrupt FIQ ARM-Core Controller IRQ Timer Interrupt Channel #4 (Overflow) VIC Vector Address Channel #16 Exception Vector Table 0x1C Main 0x18 Timer- 0x14 ISR ... CONST = 0x0FF for LPC21xx, and LPC22xx 0x120 for LPC23xx, and LPC24xx
  • 31. VIC - FIQ Interrupt FIQs have higher priority than IRQs – Serviced first – FIQs disable IRQs FIQ Vector is last in vector table (allows handler to be run sequentially from that address) FIQ mode has 5 extra banked registers, r8-12 (interrupt handlers must always preserve non-banked registers)
  • 32. 1. Memory Addressing 2. System Control Block 3. General Purpose I/O / Pin Connect Block 4. Vectored Interrupt Controller 5. Integrated Peripherals Timer 0 / Timer 1, UART 0 / UART 1, I²C, SPI, PWM, RTC, Watchdog, Ethernet, SD, IIS, GPDMA
  • 33. ADC
  • 34. A/D Converter Features – 10 bit successive approximation analog to digital converter – Multiplexed inputs • 4 pins (64-pin devices) • 8 pins (144-pin devices) – Power down mode – Measurement range 0V ... 3V – Minimum 10 bit conversion time: 2.44 µs – Burst conversion mode for single or multiple inputs – Optional conversion on transition on input pin or Timer Match signal – Programmable divider to generate required 4.5MHz from VPB clock
  • 35. A/D Converter – Burst mode CLKS: bit 17, 18, 19 of ADCR select the number of clocks used per conversion and the accuracy – 000b: 11 clocks, 10 bits – 001b: 10 clocks, 9 bits – 010b: 9 clocks, 8 bits – 011b: 8 clocks, 7 bits –… – 111b: 4 clocks, 3 bits
  • 36. ADC LPC213x/01, LPC214x Separate result register for each channel – Reduces the interrupt overhead by a factor of 8 Measurement range of 0 V to 3 V – Separate voltage pins for analogue 3V supply (V3A) and analogue ground (VSSA)
  • 37. ADC – Software Controlled Mode All conversions are 10-bit and take 11 clocks 4.5MHz Maximum Clock Allows conversion to start on an external edge ADC Inputs 7 6 5 4 3 2 1 0 ADDR0 ADDR1 Select Single 10-bit ADC Channel (11 Clocks/Conv) ADCR (7:0) ADDR7 V3A VSSA
  • 38. ADC – Burst Mode Result accuracy and speed are programmable Input selected by the SEL bits are scanned ADC Inputs ADC Clock (CLKS Bits) 1-8 Select Multiple Channels n-bit ADC ADCR (7:0) Input Scan (n Clocks/Conv) (SEL Bits) ADDR0 ADDR1 ADDR7
  • 39. DAC
  • 40. DAC (LPC213x, LPC214x, LPC23xx, LPC24xx ) – Enables the device to generate a variable analog output – 10-bit resolution DAC with a buffered output • Last output value is held as long as DAC is on – Register string architecture – Output from Zero Volt to Reference Voltage in 1024 steps – Selectable Conversion speed vs. power • Settling time 1us, up to 350uA • Settling time 2.5us, up to 700uA – Selective power down
  • 42. Timers Timer can be used to control the sequence of an event or process
  • 43. Timer 0 and 1 32-bit Timer 32-bit Capture Registers and Capture Pins – Four on each timer (48-pin devices three on Timer 0 and four on Timer 1) – Capture event can optionally trigger an interrupt 32-bit Match Registers and Match Pins – Four on each timer (48-pin devices three on Timer 0 and four on Timer 1) – Interrupt, timer reset or timer halt on match – Match output can toggle, go high, go low or do nothing
  • 44. Timer Capture Control Capture Control Register Capture Input 0 Interrupt Register Capture Input 1 Timer Control Register ENABLE RESET Capture Input 2 Capture Register 0 Capture Input 3* Capture Register 1 Load 32-bit Timer/Counter Capture Register 2 Capture Register 3* Interrupt 32-bit Pre-Scaler PCLK *: not available in 48-pin devices
  • 45. Pulse Width Modulator Dedicated 32-bit PWM timer – similar functionality to Timer0 / Timer1 Three additional match registers for a total of 7 – all PWM outputs have the same rate, which is programmable – allows up to 6 single edge controlled or 3 double edge controlled PWM outputs in any combination
  • 46. Single-Edge Controlled PWM PWM outputs all go high at the beginning of each cycle and go low on a Match Match Register 0 Value Compare (Match) Value z Compare (Match) Value y Compare (Match) Value x 0000 0000h PWMx PWMy PWMz
  • 47. Double-Edge Controlled PWM Double edge controlled PWM outputs can have either edge occur at any position within a cycle Match Register 0 Value (100) (PWM Period) MR5=65 (PWM5) MR3=53, MR4=27 (PWM4) MR1=41, MR2=78 (PWM2) 0000 0000h PWM2 PWM4 PWM5 (single-edge)
  • 48. Real Time Clock (RTC) Full Clock/Calendar function with alarms – Dedicated 32-bit timer with 32-bit pre-scaler – Generates its own 32.768 kHz reference clock from any crystal frequency (Prescaler values need to be calculated) – Counts seconds, minutes, hours, day of month, month, year, day of week and day of year – Can generate an interrupt or set an alarm flag for any combination of the counters
  • 49. Real Time Clock on newer devices Can be clocked by a separate 32.768KHz or by prescaler divider based on VPB clock => RTC can run in Power Down mode Separate supply pin Vbat which can be connected to battery or to the 3.3V supply
  • 50. RTC Block Diagram PCLK* RTC Oscillator Reference (certain Clock Divider devices only) (prescaler) MUX 32.768KHz Time Alarm Comparators Clock Counters Registers Generator The Counter Interrupt Generator Increment can cause an interrupt * keep in mind what the settings are for PLL and the VPB Divider
  • 51. Watchdog Timer Once activated, the Watchdog will reset the entire chip if it is not fed regularly Feed is accomplished by a specific sequence of data writes Watchdog flag allows software to tell that a watchdog reset has occurred Selectable overflow time (µs ... minutes) Debug Mode generates an interrupt instead of a reset Secure: watchdog cannot be turned off once it is enabled Watchdog Timer value can be read in one cycle
  • 53. Microcontroller Web Site www.nxp.com/microcontrollers
  • 55. LPC2000 User’s Group – The #1 active microcontroller group on Yahoo http://groups.yahoo.com/group/lpc2000/
  • 56. Conclusion ARM7 is an open architecture On-Board Peripherals features, Advantages ARM7TDMI-S. Protocols Features.