How to create Central routine in PSOC6?

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

cross mob
jali_3846906
Level 3
Level 3
10 replies posted 5 replies posted 10 questions asked

     I'm having trouble creating central routines in PSOC6。Can you give me some suggiestion or is there a routine available to me?Thank you.

0 Likes
1 Solution

For P6 BLE central routine, you can refer to the following code example - https://www.cypress.com/documentation/code-examples/ce215118-ble-multi-master-single-slave-psoc-6-mc...

It's a integrated role of multi masters and single slave.

View solution in original post

7 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Because a PSoC6 has got two (2) CPUs inside there will be two different "Central routines" in two different files. Both are named main().and reside in the files main_cm0p.c and main_cm4.c. The main_cm0p is started first and needs toenable/start the cm4 main() routine. Have a brief look into the provided examples for PSoC6.

Bob

0 Likes

Sorry,I guess I mess your brain.I mean how to create a bleroutine for the cental role of PSOC6。

0 Likes
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

Hi Jack,

Besides of Bob's response, you also can down load the cypress pioneer kit to get start of PSoC6.

You can review from below linker:

https://www.cypress.com/documentation/development-kitsboards/psoc-6-ble-pioneer-kit

0 Likes

Sorry,I guess I mess your brain.I mean how to create a bleroutine for the cental role of PSOC6。

0 Likes

For P6 BLE central routine, you can refer to the following code example - https://www.cypress.com/documentation/code-examples/ce215118-ble-multi-master-single-slave-psoc-6-mc...

It's a integrated role of multi masters and single slave.

Thank you so much

0 Likes

I find this routine too complex. Is there a more general PSO6 routine for Central? Ex: Two PSOC6 interconnected Communications。

0 Likes