On Nov 26, 2013, at 1:04 PM, Larry Viesse <larryvc@hotmail.com> wrote: > I once used this code to add an SPI port to an 8051 http://www.maximintegrated.com/app-notes/index.mvp/id/3524 . Read the application note carefully, especially the last sentence in the first paragraph following the abstract. It has been a while, but I believe that it was quite fast. Thats a cool bit-banged SPI written by someone who knows 8051 C. Elegantly handles CPOL and CPHA, and is read/write just the way "real" SPI operates. I'll pat myself on the back in observation Maxim unrolled the loop pretty much the same as I did, only they dressed it up nicer with macros. -- David Kelly N4HHE, dkelly@HiWAAY.net ============================================================ Whom computers would destroy, they must first drive mad.
Message
Re: [AVR-Chat] Help with bit banged spi
2013-11-26 by David Kelly
Attachments
- No local attachments were found for this message.