Keil Logo

Example Programs

The Keil MDK-ARM Development Tools download includes several example programs that are configured for the Keil MCBTSX1001 Board.

All examples are configured for two µVision targets:

  • TSX1001 Flash - where the program runs from internal Flash located on the microcontroller.
  • TSX1001 RAM - where the program runs in the internal RAM.

All examples use the same file structure:

  • Abstract.txt contains a short description of the example.
  • startup_TSX1001.s contains the startup code for the microcontroller.
  • system_TSX1001.c contains the system initialization code for the microcontroller.
  • Example dependent source code.

Each example program is stored in a separate folder in \KEIL\ARM\BOARDS\KEIL\MCBTSX1001\ along with project files that help you quickly build the project and run the program.

The following example program is installed automatically:

  • BLINKY
    The Blinky project shows the combination of configuring peripherals via system_TSX1001.c and own initialization functions. GPIO and clocks are configured via system_TSX1001.c. GLCD and ADC are set up with a seperate initialisation function. The LEDs blink with a speed depending on potentiometer position. SysTimer is used in interrupt mode and ticks every 10ms. The color LCD display shows init message, 16-bit AD value and bar graph depending on potentiometer position.
  • RTX_BLINKY
    This project uses the RTX kernel to simulate the activation of the four output stages of a step motor driver.
  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.