2020-11-19 05:42 PM
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.
2020-11-19 10:51 PM
Hello @Leimen
Do you mean that FD CAN is now grayed or disabled ?
Thanks
Khouloud
2020-11-20 12:27 AM
I mean Function not work. it's not about UI settings.
2020-11-20 06:59 AM
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
2020-11-23 10:18 PM
add new check point
hfdcan1.Init.FrameFormat = FDCAN_FRAME_FD_NO_BRS;(work) -> hfdcan1.Init.FrameFormat = FDCAN_FRAME_CLASS; (inactive)