Keil Logo

Getting Started

To run this RL-CAN LPC21xx example on a board, ensure you have:

  • an MCB2100 Evaluation board from Keil
  • a ULINK® USB Interface Adapter from Keil
  • a 5V power supply
  • a loopback cable (DB-9 female to DB-9 female).
  1. Copy the example from  \Keil\ARM\Boards\Keil\MCB2100\RL\CAN\CAN_Ex1 or from  \Keil\ARM\Boards\Keil\MCB2100\RL\CAN\CAN_Ex2 to any directory you want to use.
  2. Load the project CAN_Ex1.uv2 or CAN_Ex2.uv2 file from the copied directory into µVision® 3 IDE (Project — Open Project...)

    Open Project Menu

    Select Project File Menu

  3. Rebuild the executable file from source files. Click on Project — Rebuild all target files on the menu or click on the toolbar button.

    Project Menu

  4. Connect the ULINK device to the PC's USB port and to the JTAG connector on the MCB2100 board.
    Connect a power cord to the barrel plug port on the MCB2100 board.

    Board and ULINK
  5. Make a loopback connection between the CAN1 and CAN2 ports. Connect the CAN1 pin 2 to the CAN2 pin 2 and the CAN1 pin 7 to the CAN2 pin 7.
  6. Power-up the MCB2100 board.
  7. Click on Flash — Download on the menu to download the executable file to the target LPC2100 Flash on the MCB2100 board.

    Flash Download Menu
  8. Rotate the potentiometer and watch the LEDs change state and flash speed according to the position of the potentiometer.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.