There is a known bug related to the Rx FIFO filters. If you're using other filter format than format A, extended ID's won't match the filter. This bug will be fixed in the next S32 SDK release. If you're using format A for the ID filters, please make sure you configure...
Hi, I'm working on S32K144 CAN peripheral in which I'm using RX FIFO filter to receive data from multiple ID's. I've referred https://community.nxp.com/t5/S32K/S32K144-CAN-Bus-Masking-And-Filtering/m-p/1031320 In which masking is used to achieve ID range....
使能CAN RX FIFO之后,还是来一帧数据进一次中断,和无FIFO的区别是如果来了多帧数据,使能FIFO之后,在中断处理完成后,还会接着进中断。如果不开启FIFO,则会覆盖数据。
Enhanced filtering Enhanced filtering is a feature of the library that can stop bleed-thru frames from a multi-ID filter to store messages of IDs that were not requested to the queue. Lets say for example you want a mailbox to store IDs 0x1 and 0x5: myCan.setMBFilter(MB6, 0x1, 0x...
默认为勾选“Read only”选项,生成的配置结构体如下:constflexcan_user_config_t canCom1_InitConfig0 = { .fd_enable = false, .pe_clock = FLEXCAN_CLK_SOURCE_OSC, .max_num_mb = 16, .num_id_filters = FLEXCAN_RX_FIFO_ID_FILTERS_8, .is_rx_fifo_needed = false, .flexcanMode = FLEXCA...
默认为勾选“Read only”选项,生成的配置结构体如下:constflexcan_user_config_t canCom1_InitConfig0 = { .fd_enable = false, .pe_clock = FLEXCAN_CLK_SOURCE_OSC, .max_num_mb = 16, .num_id_filters = FLEXCAN_RX_FIFO_ID_FILTERS_8, .is_rx_fifo_needed = false, .flexcanMode = FLEXCA...
Solved: Hello, I am using FLEXCAN driver from S32 SDK and I have enabled the Rx FIFO feature with 8 Rx FIFO filters using
FlexCAN_Ip_ConfigRxFifo_Privileged(INST_FLEXCAN_0,FLEXCAN_RX_FIFO_ID_FORMAT_A , &CAN0_FIFO_IdFilterTable[0]); FlexCAN_Ip_SetRxIndividualMask(INST_FLEXCAN_0, 0, 0x7F0<<19); // mask for first ID in Filter table FlexCAN_Ip_SetRxIndividualMask(INST_FLEXCAN_0, RX_MB_IDX, 0x7FF...
In LEGACY RX FIFO mode using FLEXCAN, is there no storage depth for the hardware?If you have a storage depth, such as the 16 Rx FIFO Filters I use here, which take up 10 mailboxes, you can add 16 filters. But I only have FlexCAN_Ip_RxFifo(INST_FLEXCAN_0,&Rxbuf) in the ...
filterTable[0].id = 0x1FFFFFFF; filterTable[0].isExtendedFrame = true; FLEXCAN_DRV_ConfigRxFifo(INST_CANCOM1, FLEXCAN_RX_FIFO_ID_FORMAT_A, filterTable); Please let me know if the problem is not solved. Best regards, Ana View solution in original post 1 Kudo Reply All...