Question
when is SPI clock sent?
Posted on November 17, 2011 at 12:20
Unfortunately I do not own an oscillope nor a logic analyzer to see this.
I'm having some problem using the SPI controller to communicate with a sensor.I've managed to get some data, but not in a consistent way.In particular, when I do something likespi << commandspi >> resultIt does not work. But if I do something likewhile (1) spi << command spi >> valueIt always work at the second iteration.Now I'm wondering when is the clock actually sent? Is it always sent after the controlleris enabled until I disabled it?