- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Every One,
I want to make a communication between Pi and PSOC. PSoc will be my slave and I want to use Mode zero, data bits would be 16 and my shift direction would be MSB first.
Can any body help me in making this communication?
Looking forward for your reply.
Regards
Awais
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Pi is running at 5V afaik. So do not forget to set the PSoCs power supply to the same value.
Test your master: connect Mosi to miso on your PI and check whether you read the same that you wrote.
Connect PSoC additionally to MOSI and check for the answers you programmed your PSoC for at PSoC miso
Keep in mind: for every bit (yes, bit) the master sends, the slave will return another bit at the same time.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Pi is running at 5V afaik. So do not forget to set the PSoCs power supply to the same value.
Test your master: connect Mosi to miso on your PI and check whether you read the same that you wrote.
Connect PSoC additionally to MOSI and check for the answers you programmed your PSoC for at PSoC miso
Keep in mind: for every bit (yes, bit) the master sends, the slave will return another bit at the same time.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there any example program that can help me?
Awais
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thankyou bobgoar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content