Joel Sherrill wrote:
And that brings up the next question.. Since I
have to simulate a TI ADS1258 SPI analog, does
anyone have any suggestions on how to hook a
simulated device on the SPI bus?
I submitted patches some years ago that are
still Open.
This patch contains some example code and
"stimulator" classes for stimulating the SPI
port using file I/O. The check.tcl file in
the examples/mnm directory shows how it is
all put together.
<https://savannah.nongnu.org/patch/?4599>
Note that it requires some previous
(still open) patches.
The last patch (still Open0 that I submitted
is here:
<https://savannah.nongnu.org/patch/?4629>
I hope this helps.