2023-08-10 06:32 AM
2023-08-17 01:27 AM
Hello @Kamil Duljas
First let me thank you for posting.
I assume this is the exact same request CubeMX feature request: Is it possible to add HAL_... - STMicroelectronics Community already raised to the development team and tracked by the Tickets 148949 and 149021 and that will be added to CubeMX as soon as possible.
Thx
Ghofrane
2023-08-11 01:30 AM
Hello @Kamil Duljas ,
which filters do you want to use ?
Could you please share more information ?
Foued
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-08-14 12:21 AM
I just communicate 2 stm32F7 boards through CAN and I see in examples need to configure
CAN_FilterTypeDef CAN_FilterInitStructure
but I don't see any settings in CubeMX
2023-08-14 02:14 AM
Hello @Kamil Duljas ,
You need too add can filters into the code, for example :
/*##-2- Configure the CAN Filter ###########################################*/
sFilterConfig.FilterBank = 0;
sFilterConfig.FilterMode = CAN_FILTERMODE_IDMASK;
sFilterConfig.FilterScale = CAN_FILTERSCALE_32BIT;
sFilterConfig.FilterIdHigh = 0x0000;
sFilterConfig.FilterIdLow = 0x0000;
sFilterConfig.FilterMaskIdHigh = 0x0000;
sFilterConfig.FilterMaskIdLow = 0x0000;
sFilterConfig.FilterFIFOAssignment = CAN_RX_FIFO0;
sFilterConfig.FilterActivation = ENABLE;
sFilterConfig.SlaveStartFilterBank = 14;
I suggest you check the available example in the stm32f7 cubefw : STM32Cube_FW_F7_V1.17.0\Projects\STM32756G_EVAL\Examples\CAN
Foued
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-08-14 02:50 AM
Ok, but why i can't set this settings via CubeMx?
2023-08-17 01:27 AM
Hello @Kamil Duljas
First let me thank you for posting.
I assume this is the exact same request CubeMX feature request: Is it possible to add HAL_... - STMicroelectronics Community already raised to the development team and tracked by the Tickets 148949 and 149021 and that will be added to CubeMX as soon as possible.
Thx
Ghofrane