5643l ccp with canape

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

5643l ccp with canape

1,051 Views
hongjinzeng
Contributor IV

Hi everyone,

  When I active the ccp mode in the 5643l configuration block,then generator the code.And Getting the a2l file from canape asap2editor.Then use canape to calibration.But when I send message to the controller,the controller do not response.Then I use PE to debug,I set breakpoint in the 'ccpCommand((uint8_t*)temp);'.When I use canape send message to the controller,

the program do not goto the code.The program in the annex.

207902_207902.pngpastedImage_1.png

Tags (2)
0 Kudos
4 Replies

827 Views
dumitru-daniel_
NXP Employee
NXP Employee

Hi zenghongjin@chegustech.com‌,

Before enabling the CCP - have you checked if your CAN networks works?

What i meant to say is: if you configure the MPC5643L to broadcast a CAN message (let's say with a a counter value) can you see that message over the CAN ?

Thank you!

Daniel

0 Kudos

827 Views
hongjinzeng
Contributor IV

I am sure the CAN network working.Because I transmit a message through busmaster,meanwhile I can see the message in the window.In this case,The CAN network do not display a error message.

pastedImage_1.png

0 Kudos

827 Views
dumitru-daniel_
NXP Employee
NXP Employee

I see, but i was referring to the CAN on the MPC5643L.

Inside the toolbox there is a CAN example. Does it works on your setup. Can you receive the messages sent from MPC5643L into the Busmaster ?

Hope this helps!

Daniel

0 Kudos

827 Views
hongjinzeng
Contributor IV

After I download the can_simple_block.mdl to the controller,then I use busmaster to observe the message.The message I can receive in the window.

pastedImage_1.png

0 Kudos