Electronic Components Datasheet Search
  English  ▼

X  

AN3165 Datasheet(PDF) 24 Page - STMicroelectronics

Part # AN3165
Description  Digital PFC and dual FOC MC integration
PDF  31 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3165 Datasheet(HTML) 24 Page - STMicroelectronics

Back Button AN3165 Datasheet HTML 20Page - STMicroelectronics AN3165 Datasheet HTML 21Page - STMicroelectronics AN3165 Datasheet HTML 22Page - STMicroelectronics AN3165 Datasheet HTML 23Page - STMicroelectronics AN3165 Datasheet HTML 24Page - STMicroelectronics AN3165 Datasheet HTML 25Page - STMicroelectronics AN3165 Datasheet HTML 26Page - STMicroelectronics AN3165 Datasheet HTML 27Page - STMicroelectronics AN3165 Datasheet HTML 28Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 24 / 31 page
background image
Integration principles and description
AN3165
24/31
Doc ID 17180 Rev 1
TIM_SelectInputTrigger(TIM5, TIM_TS_ITR0);
/* Selects the Trigger Mode as Slave Mode for TIM5 */
TIM_SelectSlaveMode(TIM5, TIM_SlaveMode_Trigger);
}
Note:
TIM2 is used by the dual FOC MC part to synchronize all timers.
In the "main.c" module:
int main(void)
{
...
#ifdef PFC_ENABLE
TIM5_Configuration();
#endif
SVPWM_1ShuntInit();
...
}
Note:
TIM5_Configuration
must be called before any initializations performed by
SVPWM_1ShuntInit()
.
In the "stm32f10x_svpwm_1shunt.c" module:
void SVPWMUpdateEvent_TIM8(void)
{
...
#ifdef PFC_ENABLE
TIM5->CCMR2 &= 0xFF8F;
TIM5->CCMR2 = (TIM8->CCMR2 >> 8);
#endif
...
#ifdef PFC_ENABLE
TIM5->CCR3 = TIM8->CCR4;
#endif
...
#ifndef PFC_ENABLE
ADC3->CR2 |= ADC_ExternalTrigInjecConv_T8_CC4;
#else
ADC3->CR2 |= ADC_ExternalTrigInjecConv_T5_TRGO;
#endif
...
}
4.3.3
Firmware modifications to set IRQ priorities
The following is the code to resolve the conflicts outlined in Section 4.2.4.
In the private define of the "stm32f10x_svpwm_1shunt.c" module:
#ifndef PFC_ENABLE
#define ADC3_PRE_EMPTION_PRIORITY 1
#else
#define ADC3_PRE_EMPTION_PRIORITY 2



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


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