3v0
thanks for the tips. So you're suggesting not to let the clock run continuously but to just manually clock 3 pins (via gpio, i guess?)?
yes
data, clock, and latch
what do you mean by "stop thinking of these signals as free running clocks."? I thought the clk pin connected to my spi module will run continuously while the processor is running.
i use gpio pins and set them as needed. KISS. It is easy to understand and troubleshoot. A free running clock would shift data in every cycle even when you have no valid data. This is not a problem execpt you have to time the latch operaton so that it falls between the last valid data bit and the first meaningless one. You need to shift out 8*(number of 595 cascaded) then latch. I think that may be tricky with spi hardware, if possible. It is very easy in software.
if this is the case, wouldn't it make sense to devise a careful way to clock the latch (within the timings of the 8th, 16th, so on serial register clocks)?
Covered this above.
Could i?
Thank you!
