Help with code to run NRF24L01 without using SPI pins.

i have a problem with a shild i baught for arduino. it has a socket on it for the NRF24L01 and they for some reason use the SPI pins to drive the L298 and use pins 2-8 for the NRF24L01 so if i want to use wireless with my project and the shield i have to drive the NRF24L01 on the 2-8 IO pins. I have no idea where to start.

MotoMama Shield for arduino.
http://iteadstudio.com/store/index.php?main_page=product_info&cPath=18&products_id=361

i have a problem with a shild i baught for arduino.

Is the shield you showed a picture of the one that you "baught"?

I don't see a socket on there for a NRF24L01. I do see one for a XBee.

yes i baught it. and the socket in the one next to the BT/Xbee socket the 8 pin socket.
at the bottom of the page it has a pdf with the pinouts etc.. i still dont know why they did not link it to the SPI and the L298 to the PWM/IO pins LOL but i have it now so i figured i will have to try.. ( I can drive the board externaly with wires to the headers on top of the shild but i wanted to take a stab at learing how to use it as a shild).

Pic with the NRF24L01 attached.

There is a SoftSPI library, if I remember correctly, that lets you do SPI on any pins.

I agree, though, that a little thought should have gone into the pin mapping on that shield. Connecting the NRF24L01 SPI pins to the correct Arduino SPI pins would have made more sense.

Do you rember the name doing a google on softspi dont spit out much and does not seem to point to any acutal libs.

This might help - it's not a library but does go into changing the SPI pins using software...

"By manipulating the digital outputs of the Arduino directly using code (as opposed to calling a slightly more macro function within the Arduino SPI library), it is possible to use any pins as MOSI, MISO, SCK lines"

Wow thanks. and it even compiles in the arduino IDE. now the question is can it be made to work with MiRF. so the plan so far i guess. take the SPI by Hand code and make it into a lib what works in conjunction with the base SPI.h lib from arduino?. I have absolutly no idea where to begin with this.

SPI by Hand (SPIBH) link:

MiRF:
http://www.arduino.cc/playground/InterfacingWithHardware/Nrf24L01
SPI (Arduino IDE):

BTW i have verry little programing experiance as can be seen by my thred with sending joystick data over NRF24L01's for R/C controll.
http://arduino.cc/forum/index.php/topic,74385.0.html
i have the fealing this is going to take a wile LOL but that's good i should learn alot on this little adventure.

I would send the shield back TBH, you're looking at a huge amount of work for something that should work out of the box.
You can pick a L298 for <$2 and make a shield yourself with the correct pin mappings. At the least send the manufacturer an email informing them that their shield is missing some major functionality!

The example Arduino code they provide on the site is a joke!

This is the message they gave me and the link.
The pin10 and pin11 is support PWM output. Based on it we choose D13~D8 for control the L298N.

It very easy to write code for operating SPI bus, you can download the demo code from http://iteadstudio.com/application-note/iflat32-nrf24l01-library-for-stm32-gcc-demo/

"It very easy to write code for operating SPI bus" define easy plz lol. I am a beginner programmer at best and that's kind of overstating it a little.

Link to my post in the Itead fourm http://iteadstudio.com/iforum/viewtopic.php?f=11&t=4368&sid=ccd9fc4a71599f49dfbff48039c88330

so no one has a lib or code block for driving SPI devices with out using the hardware SPI interface?