I cannot find CanIf.xdm

cancel
Showing results for 
Search instead for 
Did you mean: 

I cannot find CanIf.xdm

Jump to solution
176 Views
Contributor I

In the AUTOSAR_MCAL_CAN_IM.pdf file it is stated that the CanIf plugin is also required to implement the CAN plugin. However, when I try to add the CanIf module on Tresos, it gives an error saying that config/CanIf.xdm cannot be found. Indeed under my EB\tresos\plugins\CanIf_TS_T40D2M10I1R0 directory there are only two directories named "include" and "META-INF". 

Do I have to downlaod it seperately? If so, where can I download it from? 

Thanks in advance, 

M. Talha Uyar

Tags (2)
0 Kudos
1 Solution
83 Views
NXP Employee
NXP Employee

Dear Muhammet Uyar,

MCAL driver just support CANIF as stub and does not have EB configuration for this.

Best regards,

Hung.

View solution in original post

0 Kudos
4 Replies
68 Views
Contributor I

Hello, I have a similar question. When I use "Can_SetControllerMode(0,CAN_CS_STARTED); " API then compile. The Console given ./src/CAN/src/Can_Flexcan.o: In function `Can_FlexCan_SetControllerToStopMode':
E:\Codes\S32Codes_Test\MCAL_TEST\Debug_FLASH/../src/CAN/src/Can_Flexcan.c:1806: undefined reference to `CanIf_ControllerModeIndication'. It seems that there is no source file in CanIf folder, but CanIf_ControllerModeIndication API was given in CanIf_Cbk.h. So where can I download the CanIf source file?

0 Kudos
84 Views
NXP Employee
NXP Employee

Dear Muhammet Uyar,

MCAL driver just support CANIF as stub and does not have EB configuration for this.

Best regards,

Hung.

View solution in original post

0 Kudos
83 Views
Contributor I

Ok, so no generated files are required from the CanIf such Cfg files, right? Also, can I assume that this is true for all the plugins missing the .xdm files such as Det, MemIf, Rte etc.?

0 Kudos
83 Views
NXP Employee
NXP Employee

Yes, in MCAL Driver no generated files are required from the CanIf(and the other stub module as MemIf,...) such Cfg files.

Best regards,

Hung.

0 Kudos