Skip to main content
Leimen
Associate II
November 20, 2020
Question

STM32CubeIDE V1.5.0 issue

  • November 20, 2020
  • 4 replies
  • 1170 views

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.

This topic has been closed for replies.

4 replies

Khouloud ZEMMELI
ST Employee
November 20, 2020

Hello @Leimen​ 

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

Thanks

Khouloud

Leimen
LeimenAuthor
Associate II
November 20, 2020

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

Leimen
LeimenAuthor
Associate II
November 20, 2020

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
LeimenAuthor
Associate II
November 24, 2020

add new check point​

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