Ignore:
Timestamp:
Jan 23, 2025, 9:09:36 AM (4 days ago)
Author:
Zed
Message:

Fixing project before Ethernet implementation.

Location:
ctrl/firmware/Main/CubeMX
Files:
7 added
1 edited

Legend:

Unmodified
Added
Removed
  • ctrl/firmware/Main/CubeMX/Core/Src/tim.c

    r67 r68  
    4242  /* USER CODE BEGIN TIM3_Init 1 */
    4343
     44  // Output PWM frequency must be 25KHz
     45
    4446  /* USER CODE END TIM3_Init 1 */
    4547  htim3.Instance = TIM3;
     
    186188
    187189    /* TIM8 interrupt Init */
    188     HAL_NVIC_SetPriority(TIM8_CC_IRQn, 15, 0);
     190    HAL_NVIC_SetPriority(TIM8_CC_IRQn, 0, 0);
    189191    HAL_NVIC_EnableIRQ(TIM8_CC_IRQn);
    190192  /* USER CODE BEGIN TIM8_MspInit 1 */
     193
     194        HAL_NVIC_SetPriority(TIM8_CC_IRQn, 15, 0);
     195        HAL_NVIC_SetPriority(TIM8_UP_TIM13_IRQn, 15, 0);
    191196
    192197  /* USER CODE END TIM8_MspInit 1 */
Note: See TracChangeset for help on using the changeset viewer.