Hi Tushar,
Hope you are doing well and Thank You for the reply.
My Apologies for the late reply.
We did run the NXP given example without Modification but None of the frames were Transmitted or Recived.
With Modification of we made now we are able to Recieve Frames on Configured Channels and Transmit as per our requirements with Slow Path ( with routing done by M7).
we are trying to configure Fast path with Advance Features But it is not working .
Here are the modification we have done in LLCE_AF


We have configured 6 Adance Features such that each channel should recieve Rx CAN Frames and Transmit to Destination Channels .
Configgured the HOH as below


confgured the above HOH Advanced Features with Can_43_LLCE_CreateAfDestination and Can_43_LLCE_SetAfFilter API's
after the CAN Controller initialization , added below code such that it would configure the destination filters and re-route the recieved frames to Destination Channels as per the defination ( this is our understanding , Please let us know if we are wrong and please correct us what are need to be configured and corresponding Advance Feature setting).
Can_Af_DestRulesType Can2CanRule = {
{.Can2Can = {
/* ======= Routing Rule ======= */
(uint32)(
LLCE_CAN_ROUTING_CANFD |
LLCE_CAN_ROUTING_OPTION_DEFAULT_CONFIG
),
(uint32)0U,
{
(uint8)1,
(uint8)2,
(uint8)3,
(uint8)4,
(uint8)5,
(uint8)0,
(uint8)0,
(uint8)0,
(uint8)0,
(uint8)0,
(uint8)0,
(uint8)0,
(uint8)0,
(uint8)0,
(uint8)0,
(uint8)0
},
(uint8)5U
}},
/* ======= Destination rule type ======= */
CAN_AF_CAN2CAN
};
Can_SetAfFilterType Can2CanFilter = {
{ /* RxFilter */
(Can_IdType)800U, /* uIdMask = RangeEnd */
(Can_IdType)700U, /* MessageId = RangeStart*/
(uint16)0x14, /* MBCount */
(Can_HwHandleType)0x6U, /* FilterId */
(uint8)0U, /* Rx is reported through this interface . */
LLCE_CAN_STANDARD,
LLCE_CAN_ENTRY_CFG_RANGED,
},
{ /* AdvancedFeature */
LLCE_AF_AUTHENTICATION_DISABLED, /* Option for frame authentication feature */
LLCE_AF_HOSTRECEIVE_DISABLED, /* Option for host receive feature */
LLCE_AF_LOGGING_DISABLED, /* Option for logging feature */
LLCE_AF_CUSTOMPROCESSING_DISABLED, /* Option for custom processing in FDK */
(uint8)0U, /* Reference to Can2Can routing entry */
(uint8)LLCE_CAN_ADVANCED_FILTER_NOT_USED, /* Can2Eth not used */
}
};
Can_43_LLCE_CreateAfDestination(Can2CanRule,&RuleIndex);
Can2CanFilter.AdvancedFeature.u8Can2CanRoutingTableIdx = RuleIndex;
Can_43_LLCE_SetAfFilter(&Can2CanFilter);
with the above changes , when a Frame given within Range of HOH filter , LLCE should Recive frame and FastRoute to Destination Channels , but it is not happening.
1. Could you pls let us know what is the procedure for Fast path Implementation?
2. whether do we need to buy the separate packages for LLCE Fast path routing from NXP?
Thanks for your time in guiding us .
Santhosh