<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 1, 2017 at 12:11 AM, Andriy Gapon <span dir="ltr"><<a href="mailto:avg@freebsd.org" target="_blank">avg@freebsd.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hello.<br>
<br>
I wonder if anyone here encountered an SPI flash controller (master) that has a<br>
three register interface where the first register is used for control and status<br>
bits, the second register is used for setting a flash address (if one is needed)<br>
and the third is used for reading or writing the flash data.  A specific<br>
operation is requested by writing an SPI opcode into the control register.<br>
The interface seems to be rather simple, but I couldn't find any driver that<br>
implements access to anything like that or any documentation that would describe<br>
a similar interface.<br>
<br>
Does it sound familiar to anyone?<br>
Could anyone give me some hints / pointers?<br></blockquote><div><br></div><div>Is this an interface that you've actually used before? It sounds too simplistic since at the very least you'd also need to set the number of bytes to transfer, the direction, and have some control over chip select.</div><div><br></div></div></div></div>