EmbDev.net

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


von John (Guest)


Rate this post
useful
not useful
Hi,

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,
John

von Nippey (Guest)


Rate this post
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
useful
not useful
I see. Thanks  Nippey!

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.