I'm thinking of using SPI in a project, specifically in daisy-chain mode where I might have 10 slaves and one master (all ATMegas of a variety TBD). How does a slave know when it has new valid data to read? I can see how data clocks in from the master and simultaneously clocks out from the slave, but I can't see how the slave can tell the clocking is over and the new data is ready to read. I can imagine slave select being used for this in normal mode, but that doesn't seem to be how it's supposed to be used and, in any event, it's not used at all in daisy-chain mode. Thanks.
Joined: Tue. Apr 1, 2003
Posts: 480 View posts