Forum: ARM programming with GCC/GNU tools Bit Bang SPI

von John (Guest)

Rate this post
0 useful
not useful

I am new to ARM development and will be using LPC1112 (Cortex-M0) to 
make a simple wav audio player. I know there is a SSP which can operate 
in SPI mode, but hopefully it can be used in TI SSI mode to interface 
with an I2S codec. The SPI is used to interface a SD card. How can I bit 
bang SPI on ARM? I couldn't find SPI bit bang code specifically for 
ARM/LPC111x. It is simply using bit bang code for AVR/8051/etc?

Thanks in advance,

von Nippey (Guest)

Rate this post
0 useful
not useful
As BitBanging is a software emulation of hardware, the code for AVR 
should also work on ARM.
An adaption to the outpin pins is required, of course ;)

von John (Guest)

Rate this post
0 useful
not useful
I see. Thanks  Nippey!


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.