drive the spinneret with an external propeller
lfreeze
Posts: 174
Please help,
I need many more pins and processing power (RAM) for my project.
I want to use an external propeller to write to the sd card mounted on the spinneret board.
In order to implement this, I am considering soldering/hacking the spinneret board by adding
four wires to the sd card socket.
Data serial out sd connector 7
Data serial in sd connector 3
Clk sd connector 5
CS sd connector 2
These four wires will be connected to an external propeller
This arrangement will result in a parallel connection between the propeller chip on the Spinneret board
and the new external propeller. Communication between the two
Props will be controlled by the rtc on the spinneret board. I will stop the http service
While the sd card is being written to, then resume it when the write is finished.
During the write part of the function, I will make the four parallel pins on
The spinneret inputs.
Im way over my head with this and I am concerned that it will result in a large cloud
Of smoke.
Is what I am proposing possible? Are there any special cautions other than the usual
Soldering issues that I should be aware of? Is there another way to accomplish this
Using J1 on the spinneret board ?
Thanks in advance
Larry
I need many more pins and processing power (RAM) for my project.
I want to use an external propeller to write to the sd card mounted on the spinneret board.
In order to implement this, I am considering soldering/hacking the spinneret board by adding
four wires to the sd card socket.
Data serial out sd connector 7
Data serial in sd connector 3
Clk sd connector 5
CS sd connector 2
These four wires will be connected to an external propeller
This arrangement will result in a parallel connection between the propeller chip on the Spinneret board
and the new external propeller. Communication between the two
Props will be controlled by the rtc on the spinneret board. I will stop the http service
While the sd card is being written to, then resume it when the write is finished.
During the write part of the function, I will make the four parallel pins on
The spinneret inputs.
Im way over my head with this and I am concerned that it will result in a large cloud
Of smoke.
Is what I am proposing possible? Are there any special cautions other than the usual
Soldering issues that I should be aware of? Is there another way to accomplish this
Using J1 on the spinneret board ?
Thanks in advance
Larry
Comments
It might be enough to do what you want. Good luck!
Robert
Iron solution. How do you buffer the data being sent to the spinneret? I’m thinking of
Sending it as a variable and then writing it to the SD card. I think I can do this with
Full duplex serial. Was there a specific reason you used “Full-Duplex_COMEngine” .
I searched for “Full-Duplex_COMEngine”, but was unable to find it in the obex.
Thanks for the help.
Larry
Full duplex serial will work too. However, the Full-Duplex_COMEngine driver will work much faster than full duplex serial and has a greater variety of useful methods built in. It's here http://obex.parallax.com/object/246 and this Author also wrote the SD Card driver that works beautifully with the spinneret.
To send a lot of data between the quickstart and spinneret, this might help you get started:
1- Create a buffer on both your quickstart and the spinneret. Perhaps 512 bytes to start with.
2- Fill this buffer on your quickstart by whatever means you choose. When you've put all the data you can in it, transmit it to the spinneret.
3- On the spinneret side, receive the buffer data.
This type of set up can be modified with start/stop delimiters, and all sorts of other stuff. It's not the greatest example but it should get you started. There are other comms drivers on the obex, and some of them are REALLY fast but I like this one because it's very similar to the SD Card driver in it's syntax.
Please note in my earlier response- you don't have to use the same pins I use. Any available pins will work equally well, so long as they aren't being used for anything else.
Provided will get me going in the right direction. I was able to find some
Old code I had written for prop to prop communication. I will modify it
With buffers and then incorporate it into the HTTPserver.
Larry