Hello Every one,
I am trying to communicated two PSoC boards (5LP) using bidirectional spi communication but it is not working. I do not know why I am enabling and disabling the TR and RX side correctly.
I have not found any example project on the internet where i can get some help.
I would be very thankful to you if any body can share some example project that can help me.
Looking forward for your answer.
Solved! Go to Solution.
You are not running PSoc Creator 4.0 SP 1 Please update your PSoc Creator Software.
Now every thing is up-to date but the error is still there.
One more thing I have a look at the pdf file and main.c file. This shows the normal spi code example project already available(not bidirectional spi). Is it correct?
Yes, I unzip it and now it's working.
But, it is not the bidirectional mode SPI.
You can change the SPI component to Bi-directional by a setting in the Component right click on the component and then select Data lines and select Bi-directional. Also read the data sheet for the SPI components.
I already tried this thing before posting my question here. It s not working.
Can you please give me a demo code if it is possible 4 u?