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

X  

UM1561 Datasheet(PDF) 11 Page - STMicroelectronics

Part # UM1561
Description  This document describes how the firmware to manage the 250 W micro-inverter demo
PDF  39 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM1561 Datasheet(HTML) 11 Page - STMicroelectronics

Back Button UM1561 Datasheet HTML 7Page - STMicroelectronics UM1561 Datasheet HTML 8Page - STMicroelectronics UM1561 Datasheet HTML 9Page - STMicroelectronics UM1561 Datasheet HTML 10Page - STMicroelectronics UM1561 Datasheet HTML 11Page - STMicroelectronics UM1561 Datasheet HTML 12Page - STMicroelectronics UM1561 Datasheet HTML 13Page - STMicroelectronics UM1561 Datasheet HTML 14Page - STMicroelectronics UM1561 Datasheet HTML 15Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 11 / 39 page
background image
UM1561
STM32F1xx - internal peripherals for DC-AC section
Doc ID 023556 Rev 1
11/39
5
STM32F1xx - internal peripherals for DC-AC section
The DC-AC converter is managed by one PWM timer and a GPIO pin, synchronized in order
to control two legs of the inverter at different switching frequencies. The advanced PWM
timer, TIM8, is used to control the high frequency leg, and the GPIO pin for the low
frequency leg. Only one output of the TIM8 is used and the same is true for the GPIO
peripheral. The advanced timer is configured in center alignment mode in order to trigger
the ADC at the up-counting of the counter. Figure 4 shows the PWM mode and the trigger
events for ADC.
Figure 4.
Center alignment mode for TIM8 timer and trigger event for ADC
DataSensing.c
void DS_TIMx_Configuration(void)
{
//
TIM8 Configuration: PWM1 Mode
TIM_TimeBaseStructure.TIM_Period = ((DataSensing.Init.Counter) >> 1);
TIM_TimeBaseStructure.TIM_Prescaler = 0;
TIM_TimeBaseStructure.TIM_ClockDivision = 0;
TIM_TimeBaseStructure.TIM_CounterMode = TIM_CounterMode_CenterAligned1;
TIM_TimeBaseStructure.TIM_RepetitionCounter = 1;
TIM_TimeBaseInit(TIM8, &TIM_TimeBaseStructure);
TIM_SelectOutputTrigger(TIM8, TIM_TRGOSource_Update);
}
where
●
TIM_SelectOutputTrigger(TIM8, TIM_TRGOSource_Update);
is (Set the
TIM8 output for ADC triggering).
The DS_TIMx_Configuration includes the configuration code for the advanced timer TIM8.
The counter value (DataSensing.Init.Counter) is defined inside the DCDC_Converter.h file.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39


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