ST626XCKITEU STMicroelectronics, ST626XCKITEU Datasheet - Page 22

no-image

ST626XCKITEU

Manufacturer Part Number
ST626XCKITEU
Description
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST626XCKITEU

Lead Free Status / Rohs Status
Supplier Unconfirmed
26
Running the Demos
4.1.5 Demo 5 - Digital to Analog Conversion
Digital to Analog Conversion (DAC) is performed using an RC integrator circuit connected to
the ST6265 Auto Reload Timer output (PB7).
A PWM signal is generated by the ARTimer at PB7 output. The voltage value at the output of
the RC integrator circuit is controlled by the PWM duty cycle.
After RESET, the program:
• Generates a 64 KHz frequency PWM signal at the Auto Reload Timer output. The duty
• Decreases/increases the duty cycle value each time the - or + button is pressed (2%
For more precise observation, position an oscilloscope probe on the ANA test point, located in
the Digital to Analog circuit (marked 19 on the Starter Kit board diagram on page 11).
4.1.6 Demo 6 - RS-232 Communications
This demonstration shows how an RS-232 communication line buffer can be managed using
an ST6265 microcontroller.
To run this demonstration:
1 Connect the RS-232 connector on the Starter Kit board to a serial port on your PC using the
2 On the host PC, in MS-DOS, execute the program: ST6K232.EXE which is in the
3 Follow the instructions as they appear on screen.
4.2 Running the Demonstration Programs
The ST6265 microcontroller labelled DEMOK65 is programmed with the demonstration soft-
ware. If this software has been erased from the microcontroller, you can reprogram it from the
file DEMOK65.HEX (the file is in the st6tools\sk626Xi1 directory). For details of how to pro-
gram microcontrollers refer to “Programming ST6 Microcontrollers” on page 30.
22/41
cycle is initialized at 50%.
steps). This modifies the analog voltage at the integrator circuit output.
RS-232 cable provided.
st6tools\sk626Xi1 directory.