Dual CPU code in ModusToolbox

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

cross mob
jsmith678x
Level 4
Level 4
100 sign-ins 25 replies posted First solution authored

Hi,

 

I've selected a New Application for PSoC 6 Wi-Fi BT Prototyping Kit and I selected GPIO_Interrupt. After the project is created I see only one project. Where is the project for CM0? As far I know PSOC62 always require two project on for CM0 and one for CM4.

 

0 Likes
1 Solution
RodolfoGL
Employee
Employee
250 solutions authored 250 sign-ins 5 comments on KBA

You can refer to the Dual-CPU App Note. It has the basics on how to create a Dual-CPU application.

https://www.cypress.com/documentation/application-notes/an215656-psoc-6-mcu-dual-cpu-system-design

You can also start out of any Dual-CPU code example.

https://github.com/cypresssemiconductorco/?q=mtb-example-psoc6-dual-cpu&type=&language=

 

View solution in original post

0 Likes
2 Replies
MiZu_4805356
Level 2
Level 2
10 sign-ins 5 replies posted 5 sign-ins

Some projects created by ModusToolbox are only single core. This means that all code which you see runs on CM4. In this case CM0 run only small static code (which you do not see) at the begining and then go to sleep. This small code do some initialization and starts your CM4 core. Details about preprogrammed static CM0 images which runs on CM0 core in single core application you can found at https://github.com/cypresssemiconductorco/psoc6cm0p

I never found any easy way how to convert single core app to dual core. You can manually create project, link them and properly reconfigure full environment, but creating empty dual core app (or some other dual core template) and copy code there is often much easier.

0 Likes
RodolfoGL
Employee
Employee
250 solutions authored 250 sign-ins 5 comments on KBA

You can refer to the Dual-CPU App Note. It has the basics on how to create a Dual-CPU application.

https://www.cypress.com/documentation/application-notes/an215656-psoc-6-mcu-dual-cpu-system-design

You can also start out of any Dual-CPU code example.

https://github.com/cypresssemiconductorco/?q=mtb-example-psoc6-dual-cpu&type=&language=

 

0 Likes