Enable can1 interface in MPC5748G LCEVB

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Enable can1 interface in MPC5748G LCEVB

862 Views
rahulramakrishn
Contributor III

Hi

I am new to this field. I want to enable can1 interface in the MPC5748G LCEVB. Is it possible to enable can1 interface? If possible please give me the example code. Waiting for replay.

5 Replies

535 Views
martin_kovar
NXP Employee
NXP Employee

Hello,

according to LCEVB schematic, there are two transceivers for CAN. CAN1 module is connected to transceiver via PC10 and PC11 pins.

Please check the example below:

https://community.nxp.com/docs/DOC-332504 

Regards,

Martin

535 Views
rahulramakrishn
Contributor III

Hi

Sorry for the late reply. I had to do some other important works.

I tried again the same code with the changes you mentioned. But still I getting the same error

Program received signal SIGINT, Interrupt.
0x01001010 in IVOR1_Vector ()

Why it shows IVOR1_Vector() interrupt?

What are the registers used for CAN_1 interface? Is that same as the CAN_0 interface?

I am able to do transactions through CAN_0 interface. But I need to enable the CAN_1 interface.

Please help me to solve this problem.

regards

Rahul Ramakrishnan

0 Kudos

535 Views
martin_kovar
NXP Employee
NXP Employee

Hello,

do you use S32 Design Studio eventually which version? which debug probe you use?

Have you only used the elf in original project or you recompiled the project?

Regards,

Martin

535 Views
rahulramakrishn
Contributor III

Hi

I am using S32 Design Studio v 1.2 with PE Micro universal multilink

debugger. I recompiled the project and try to debug it. Then also it shows IVOR1_Vector()

exception.

No source available for "IVOR1_Vector() at 0x1001010"

I using all 3 crores.

I attaching the code here. Please find it.

Regards

Rahul Ramakrishnan

0 Kudos

535 Views
rahulramakrishn
Contributor III

Hi Martin

Thank you very much for the information. I will check it tomorrow.

regards

Rahul Ramakrishnan

0 Kudos