When I use tresos to generate the cfg for CAN, a error is reported as below: [C:\EB\Tresos\..\..\NXP\AUTOSAR\S32K1XX_MCAL4_3_RTM_1_0_5\eclipse\plugins\Can_TS_T40D2M10I5R0/generate_PB/src/Can_PBcfg.c (signed):237]: The HRH and HTH Ids are defined under two different name-spaces (Refer to CAN326). Example: HRH0-0, HRH1-1, HTH0-2, HTH1-3. The HRHs of all controllers are grouped before the HTHs of all controllers (there must not be any HTH of any controller with an object ID lower than that of any HRH configured for this driver). (node )
Could you help confirm the problem if my configuration is wrong
Hi,
it just says that you should have HTH (transmit handlers) Ids higher then HRH (receive handlers) Ids. So try to place the HRH before HTH as in the below image:
BR, Petr