| поискавой системы для электроныых деталей |
|
UM1561 датащи(PDF) 11 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1561 датащи(HTML) 11 Page - STMicroelectronics |
|
11 / 39 page ![]() 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. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| 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 |