Hi guys,
I need to some info to get me started with SPI comms.
I would like some clarification regarding the SPI protocol.
Is the SPI protocol universal for all devices that implents it?
For example is the SF SPI module compatable with all SPI memory devices?
I had a look to some SPI devices from ATMEL and the SPI seems to be similar.
But I think in reality this is just too good to be true.
I had a look on the Wiky page, but got a little confused by the example given there!
Any info to get me started will be greatly appretiated.
Regards
Francesco C.
Starting with SPI. Need some help!
Moderators: David Barker, Jerry Messina
-
- Posts: 41
- Joined: Thu Feb 26, 2009 6:54 pm
- Location: UK
Hello Francesco, in my own experience SPI is more about the hardware interface rather than the code to drive it.
Having used SPI on many devices I have found that you need to pick the device you want to use then get to grips with its own requirements.
Memory devices tend to have similarities between them but this code may be completely useless with an RF Modem for instance.
As a purely test case it might be a good idea to make a development board with the device used in the WiKi article and then you can take apart
working code rather than try to get new hardware and new software going at the same time.
Having used SPI on many devices I have found that you need to pick the device you want to use then get to grips with its own requirements.
Memory devices tend to have similarities between them but this code may be completely useless with an RF Modem for instance.
As a purely test case it might be a good idea to make a development board with the device used in the WiKi article and then you can take apart
working code rather than try to get new hardware and new software going at the same time.