setting each pixel value takes too much time for the interpreter
Almost certainly - you could time it with:
var t=getTime();
// stuff
console.log(getTime()-t);
// SPI send
It's also worth making sure you're writing code that executes quickly on Espruino, see this page for some pointers. You can usually get some quite good speedups by following what's there - but post up if you need some pointers about how to get a bit more speed.
Can you help me to figure out how to get the fastest baud of SPI port?
On the APA102, just set the SPI baud rate to something like 16000000 - Espruino won't be able to drive it much faster than that. Also try using the build from http://www.espruino.com/binaries/git/commits/d1139b57f9957ea844e0beef1907ffd7e6a923b5
It's not released yet but there are some speed improvements for SPI in recent builds.
STM32F427
Yes, it would help I'm sure. However the experience with the other boards doesn't tend to be quite as polished as it is with the Espruino ones :)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Almost certainly - you could time it with:
It's also worth making sure you're writing code that executes quickly on Espruino, see this page for some pointers. You can usually get some quite good speedups by following what's there - but post up if you need some pointers about how to get a bit more speed.
On the APA102, just set the SPI baud rate to something like 16000000 - Espruino won't be able to drive it much faster than that. Also try using the build from
http://www.espruino.com/binaries/git/commits/d1139b57f9957ea844e0beef1907ffd7e6a923b5
It's not released yet but there are some speed improvements for SPI in recent builds.
Yes, it would help I'm sure. However the experience with the other boards doesn't tend to be quite as polished as it is with the Espruino ones :)