Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

UM1763 Datasheet(PDF) 7 Page - STMicroelectronics

Part # UM1763
Description  Description of STLUX385A examples kit
PDF  16 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM1763 Datasheet(HTML) 7 Page - STMicroelectronics

Back Button UM1763 Datasheet HTML 3Page - STMicroelectronics UM1763 Datasheet HTML 4Page - STMicroelectronics UM1763 Datasheet HTML 5Page - STMicroelectronics UM1763 Datasheet HTML 6Page - STMicroelectronics UM1763 Datasheet HTML 7Page - STMicroelectronics UM1763 Datasheet HTML 8Page - STMicroelectronics UM1763 Datasheet HTML 9Page - STMicroelectronics UM1763 Datasheet HTML 10Page - STMicroelectronics UM1763 Datasheet HTML 11Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 7 / 16 page
background image
DocID026335 Rev 1
7/16
UM1763
Example I
16
3
Example I
This is the first and the simplest example. The aim of the code is to build an equivalent
“Hello World!” application for the STLUX but trying to use also its strength point, the SMEDs.
In a few words the goal of the application is to configure the SMED 0 in order to drive the
output pin toggling at a fixed frequency and fixed duty cycle. As a results on the pin 1, there
will be an output signal toggling with a 50% duty cycle at a 48 KHz frequency.
The aim of the example is also to try to get familiar with the firmware development for the
STLUX and STM8 and learning how to drive peripherals through the APIs included in the
STLUX libraries. For this example in particular, the stlux_clk library APIs are used to
properly configure the SMED clock to the maximum frequency of 96 MHz. The stlux_smed
library APIs are used to start the SMED 0.
Another key component of the STLUX toolset, the STLUX SMED configurator GUI is used
here to set the SMEDs configuration. The designed SMED configuration can also be saved
in a *.prj format file. In particular in this example only the SMED 0 is used and it is
configured according to the scheme in Figure 1 generated using the tool and saved in the
PWM_Smed0.prj file.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com