Reputation: 5
SPI protocal use on MCU & device. I want know if it can use on two mcu's communication. like s3c2440 & msp430. if it's ok ,what I should take care.(they have different clock 25MHz & >100MHz) if it can't use,tell some reason thanks
Upvotes: 0
Views: 2480
Reputation: 81247
It's possible to use SPI for communication between CPUs if at least one device can act as an SPI slave, but SPI has two major problems when used for such purposes:
Unless a processor includes sufficient hardware to handle a "mailbox-style" system without CPU intervention, I would regard SPI as being inferior in almost every way to simple async serial.
Upvotes: 2
Reputation: 181037
Yes, provided at least one of the MCUs can act as an SPI slave, there should be no problem with that.
The SPI bus should be independently clocked from the CPU clock frequency, so you shouldn't have a problem finding a common supported speed.
Upvotes: 3