XMC7000 CANFD in MultiCore Project

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Andreas_Heder
Level 3
Level 3
50 sign-ins 10 questions asked 10 replies posted

Hey,

I have problems to get the CAN FD demo running in a multicore project.

Code base is the CAN FD Demo --> in single Core Project everything works fine.

 

Open a Multicore Project --> Copy and Paste the code from the Example + design.modus file (tried the same manually-->same result)

The result on o Digital Analyzer after : "Cy_CANFD_UpdateAndTransmitMsgBuffer"

Andreas_Heder_0-1675777072046.png

 
Could someone share a Multicore Project with running CAN/CAN-FD Block?
 
BR
Andreas

 

0 Likes
1 Solution
Andreas_Heder
Level 3
Level 3
50 sign-ins 10 questions asked 10 replies posted

Hello,

 

problem solved. --> missing P1_0 for CAN_STB. --> could you add this to the BSP defines? Same as all other pins?

Andreas_Heder_0-1676021189827.png

 

this PIN is missing by default.

 

BR 

Andreas

View solution in original post

2 Replies
lock attach
Attachments are accessible only for community members.
onour
Employee
Employee
10 replies posted 25 sign-ins 5 solutions authored

Hello, 

I'm attaching a CAN FD + ADC project. 
ADC is running on core 7_0 and CAN FD on core 7_1, there is an IPC channel that sends value from 7_0 to 7_1.
This is not an optimized/perfect project but an exercise, but it should hopefully help you anyway.

Import by clinking File-> Import -> General -> Existing Project into Workspace ...
You sometimes have to re-include the nested projects in the main project by right-clicking on them.
Be careful about the speed of CAN-FD which can be different from your need (change it in the Device configurator). 

If you have any questions/problems, please right.
Best regards.

0 Likes
Andreas_Heder
Level 3
Level 3
50 sign-ins 10 questions asked 10 replies posted

Hello,

 

problem solved. --> missing P1_0 for CAN_STB. --> could you add this to the BSP defines? Same as all other pins?

Andreas_Heder_0-1676021189827.png

 

this PIN is missing by default.

 

BR 

Andreas