Separate SPI example in two projects (master and slave)

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

cross mob
Anonymous
Not applicable

Hello everybody,

   

can anyone give me an hint how to separate the SCB_SpiCommMaster (or Slave) Example?

   

In the .pdf I read that the example can easily split into separate master and slave projects with minimum

   

modifications.

   

I tried to split the project, but I do not get a data transfer.

   

I connected the two boards via the pins P0_0-P0_3 on both CY8C4247LQI-BL483 on the base board as they

   

are assigned by the PSoC Creator and commented out the master respective the slave function calls.....

   

Thanks and best regards

   

Andreas

0 Likes
1 Solution
Anonymous
Not applicable

Hi Bob,

   

thank you 🙂

   

I am currently working in a project near Karlsruhe...

   

The project I am using is the example of the PSoC Creator "SCB_SpiCommMaster"

   

which uses the SCB Spi component as a master and a UDB Spi component as a slave...

   

And I would like to split it into two separate projects, one for the master and one for

   

the slave.

   

I have just tried another example of the PSoC Creator "SPI_Design" and split this into

   

two projects and this worked...

   

Thanks a lot 🙂

View solution in original post

0 Likes
2 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Welcome in the forum, Andreas!

   

Can you post your complete project, so that we all can have a look at all of your settings? To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.

   

 

   

Bob

   

PS: Where in Germany are you located? I live near Bremen

0 Likes
Anonymous
Not applicable

Hi Bob,

   

thank you 🙂

   

I am currently working in a project near Karlsruhe...

   

The project I am using is the example of the PSoC Creator "SCB_SpiCommMaster"

   

which uses the SCB Spi component as a master and a UDB Spi component as a slave...

   

And I would like to split it into two separate projects, one for the master and one for

   

the slave.

   

I have just tried another example of the PSoC Creator "SPI_Design" and split this into

   

two projects and this worked...

   

Thanks a lot 🙂

0 Likes