Memory Stick SPI with BS2 code
dpulgar
Posts: 4
I need an example in relation to Memory Stick #27937,
must contain at least one example for BS2 SPI communication,
I have seen a library for the propeller. But the truth is that not understand spin.
I need at least the initial code in BS2 with SPI.
must contain at least one example for BS2 SPI communication,
I have seen a library for the propeller. But the truth is that not understand spin.
I need at least the initial code in BS2 with SPI.
Comments
The data transfer using SPI is going to be very much slower than using serial I/O. I don't recommend it for the Stamps.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
While I'm at it, there's a 3-pin header on the component side of the Datalogger mounted parallel to the long dimension of the board, but its purpose isn't documented. What's that for?
Well, fortunately SPI is fast enough for my particular application (reading the H48C 3-axis accelerometer 10x per second and writing the data in binary to a file), so I can just stick with that. Besides, the Datalogger in SPI mode and the accelerometer device can share most of their pins, except for the two Chip Select lines. And the Datalogger in SPI mode can use the same Stamp pin for SDI and SDO just like the H48C does. May not be the fastest solution, but it's fast enough for what I need.