Tool/software:
Hi, experts,
I am asking this question on behalf of my customer.
Customer tried to communicate with external CAN device with can_app in AM263x MCAL 10.01.00, with CAN_LOOPBACK_ENABLE setting to OFF. The CAN frame sending from AM263x can be received as expected. But the CAN frame sending from external device can not be received by AM263x. Through debugging, we found if setting CAN ID to 0xC1, it can be received by AM263x, as the Can_HwFilterType are set to pass frames with CAN ID 0x40, 0x41, 0xBE ~ 0xC3.
Customer need to receive CAN frame with ID 0x480 ~ 0x4F0, and below is his configuration in EB.
CanHandleType :BASIC CanHwObjectCount :2 (bitmask is enabled only with CanHwObjectCount > 1) CanHwFilterCode:0x4f0 CanHwFilterMask: 0xf80
But CAN frames with ID 0x480 ~ 0x4F0 can not be received.
Please help to share the method and guideline to configure CAN ID filter in EB.
Thanks.