Keil Logo

Getting Started

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

  • a MCBSTM32 Evaluation board from Keil
  • a ULINK2® USB Interface Adapter from Keil
  • a USB cable for 5 V power supply.
  1. Copy the example from \Keil\ARM\Boards\Keil\MCBSTM32\RL\CAN\CAN_Ex1 to any directory you want to use.
  2. Load the project CAN_Ex1.uv2 file from the copied directory into µVision® 3 IDE (Project —> Open Project...)

    Open Project from Menu

    Select Project File
  3. Select the target MCBSTM32.

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

    Rebuild on Project Menu
  5. Connect the ULINK device to the PC's USB port and to the JTAG Connector on the MCBSTM32 board.

  6. Power-up the MCBSTM32 board by connecting the board's USB power input to the PC's USB port.
  7. Click on Flash —> Download on the menu to download the executable file to the STM32 flash target on the MCBSTM32 board.

    Flash Menu
  8. Rotate the potentiometer and watch the Tx and RX values on the LCD, and the state of the LEDs change 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.