ST626XCKITEU STMicroelectronics, ST626XCKITEU Datasheet - Page 20

no-image

ST626XCKITEU

Manufacturer Part Number
ST626XCKITEU
Description
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST626XCKITEU

Lead Free Status / Rohs Status
Supplier Unconfirmed
Running the Demos
4 RUNNING THE DEMOS
This section describes the demonstration programs that are provided with the Starter Kit and
explains how to run them.
4.1 What the Demos Do
The following paragraphs describe the demos that come pre-loaded with the ST6 Starter Kit
demos. See “Running the Demonstration Programs” on page 22 below for details on how to
select and run a demo.
The source files of these demos are provided with the Starter Kit software in the file
C:\st6tools\sk626Xi1\sk626Xli\DEMOK65.ASM.
4.1.1 Demo 1 - Sound Generation
After RESET, this program generates a PWM signal at the output of the AUTO RELOAD TIM-
ER peripheral (PB7), which is connected to the Audio Transducer.
The frequency of the PWM signal can be adjusted by pressing the + (increase) or the - (de-
crease) pushbuttons.
An oscilloscope probe can be positioned on the W15-PB7 jumper to observe the PWM signal.
4.1.2 Demo 2 - Music box
After RESET, this program produces 5 tunes that are played by the Audio Transducer. The
sound frequencies are generated at the AUTO RELOAD TIMER output peripheral (PB7), used
in PWM mode.
The LED that is turned on indicates the tune to be played (1 through 5). To select the tune to
play, press the + button.
The music starts playing when the - button is pressed.
The tempo of the music can be modified using the voltage trimmer (marked 6 on the Starter Kit
board diagram on page 11). This is connected to PA4 I/O programmed as Analog input.
Once the music has finished playing, another tune can be selected and played the same way.
20/41
24