Hi,
i only reach a speed of ~44 khz. if i·just toogle 1 pin.·but i need at least 2 mhz, better 4!
i know spi can handle speeds up to 8 mhz.
maybe i understood the documentation wrong but i thought that·this became a problem
The Spin language is fairly fast, but is interpreted and much slower than the Propeller's native instructions (assembly language). A tight program in Spin can generate asynchronous serial data up to 19,200 Baud, but not much faster while an assembly routine can handle in excess of 2MBps. I suggest you look at the "SPI Engine" towards the middle of page 1 of this thread: http://forums.parallax.com/showthread.php?p=601870
Post Edited (Mike Green) : 12/8/2008 3:12:02 PM GMT
Comments
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
Post Edited (Mike Green) : 12/8/2008 3:12:02 PM GMT