MCSDK 5.7.3 r3_f30x_pwm_curr_fdbk.c error with STM32F302VC.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-01-27 2:19 PM
Keep inserting
if ( TIMx == TIM1 )
{
/* TIM1 Counter Clock stopped when the core is halted */
LL_DBGMCU_APB2_GRP1_FreezePeriph( LL_DBGMCU_APB2_GRP1_TIM1_STOP );
}
else
{
/* TIM8 Counter Clock stopped when the core is halted */
LL_DBGMCU_APB2_GRP1_FreezePeriph( LL_DBGMCU_APB2_GRP1_TIM8_STOP );
}
if ( OPAMPParams != NULL )
{
LL_OPAMP_Enable( OPAMPParams->OPAMPx_1 );
LL_OPAMP_Enable( OPAMPParams->OPAMPx_2 );
}
but LL_DBGMCU_APB2_GRP1_TIM8_STOP doesn't exist. Every time I "generate" code i have to go in an comment out this line since I don't have a TM8 thus in stm32f302xc.h #define DBGMCU_APB2_FZ_DBG_TIM1_STOP isn't present.
Someone at STM Please LMK how to prevent MX from generating this?
Labels:
- Labels:
-
OPAMP
-
STM32 Motor Control
-
STM32F3 Series
-
TIM
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-10-24 2:16 AM
Dear SpinKernel,
Firstly, we would like to sincerely apologize for the delay in replying to your post.
Thank you for your report. Some LL_DBGMCU_APB2_GRP1_TIM8_STOP usage is already TIM8 definition dependent and will it be fully corrected on WB6.2.1.
If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA
Best regards.
GMA
