cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE V1.5.0 issue

Leimen
Associate II

Hi,

where can I find and download STM32CubeIDE V1.4.2 or V1.4.6?

Yesterday, I update to v1.5.0 from V1.4.6(I don't remember which version),

and then FD CAN inactive in my project, I did compare between old version(V1.4.2) and V1.5.0.

Old version(V1.4.2) is work fine.

4 REPLIES 4
Khouloud ZEMMELI
ST Employee

Hello @Leimen​ 

Do you mean that FD CAN is now grayed or disabled ?

Thanks

Khouloud

Leimen
Associate II

I mean Function not work. it's not about UI settings.

Leimen
Associate II

Hi

I found V1.5 add/changed those setting

  /* System interrupt init*/

  /* PendSV_IRQn interrupt configuration */

  HAL_NVIC_SetPriority(PendSV_IRQn, 15, 0);

-----

  /* FDCAN1 interrupt Init */

  HAL_NVIC_SetPriority(FDCAN1_IT0_IRQn, 0, 0); -> HAL_NVIC_SetPriority(FDCAN1_IT0_IRQn, 5, 0);

has more same...

​-----

and SysTick

NVIC.PendSV_IRQn=true\:15\:0\:false\:false\:false\:false\:false\:false

NVIC.SysTick_IRQn=true\:15\:0\:false\:false\:false\:false\:false\:false

-----

I am not sure the FD CAN function inactive is about those force change or not.

My project program by V1.4.x the FD CAN is work fine,

same project program by V1.5.0 the FD CAN not work.

BTW I use

void HAL_FDCAN_RxFifo0Callback(FDCAN_HandleTypeDef *hfdcan, uint32_t RxFifo0ITs);

void HAL_FDCAN_RxFifo1Callback(FDCAN_HandleTypeDef *hfdcan, uint32_t RxFifo1ITs);

FYI

Thanks

Leimen

Leimen
Associate II

add new check point​

hfdcan1.Init.FrameFormat = FDCAN_FRAME_FD_NO_BRS;(work) -> hfdcan1.Init.FrameFormat = FDCAN_FRAME_CLASS; (inactive)