Keil™, An ARM® Company

MCB2100 User's Guide

BLINKY IRQ

The BLINKY IRQ example project shows several techniques that are useful on the NXP LPC2100 series. It changes constantly the status on the output port GPIO P1.16..23.

The BLINKY IRQ example project shows:

  • How to setup the Vector Interrupt controller.
  • How to setup timer0 for timer interrupts.
  • How to change the port.

The Blinky program is available in different targets:

  • Simulator: configured for software Simulator
  • MCB2100 Flash: configured for on-chip Flash ROM (used for production or target debugging)
  • MCB2100 RAM: configured to run from on-chip RAM (may be used for target debugging)

Instructions

The Blinky sequence displays on ports P1_16 to P1_23 can be controlled via the analog input on channel 0, if CAN ports 1 and 2 are connected.

The data from the ADC unit transmits on CAN2. The data received on CAN1 influences the Blinky sequence.