Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Bit-bang SPI

2007-05-31 by David VanHorn

On 5/30/07, Brian Gregory <bgregory@g-webdesign.com> wrote:
> Can anyone point me to a bit-bang SPI example? I'm trying to talk to one of
> these:
> http://www.parallax.com/detail.asp?product_id=29123
>
> Perhaps someone has an equivalent to SHIFTOUT and SHIFTIN in C?
>


Haven't done it in C, but I've had a lot of success in ASM.
It's pretty easy.  I've done multiple devices, one on the hardware SPI
at high speed, while talking to another one at lower speed in bit-bang
mode.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.