On Mon, 2010-05-03 at 12:26 -0700, Peter C. Wallace wrote: ... snip > There are 2 SPI hardware interfaces available in HostMot2, the Simple SPI > (SSPI) and the Buffered SPI. The Simple SPI interface is suited to devices > that have only one channel. The Buffered SPI (BSPI) interface is suited to > devices tha have multiple channels per chip and systems that use multiple SPI > devices that share an interface. Information on the low level SPI hardware is > in the regmap file. I can help if you have hardware specific questions.
> > How about a software implementation of the spi protocol. Has anybody > > worked with that ? How fast could you go with a sw impl. ? > I think Kirk Wallace? has a HAL based bit banged SPI interface This is what I have so far (really just script-kitty level stuff) http://www.wallacecompany.com/machine_shop/EMC2/serial_dac/ http://www.wallacecompany.com/machine_shop/EMC2/serial_adc/ http://www.wallacecompany.com/machine_shop/EMC2/AEAT-6010/ I think Peter mentioned, a while back, that (some) SPI encoders, and maybe other peripherals, will barf on such slow clock speeds. -- Kirk Wallace http://www.wallacecompany.com/machine_shop/ http://www.wallacecompany.com/E45/index.html California, USA ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
