You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • It's not random - it's just that unlike something like the USART, it has a fixed clock divisor that's /2, /4, /8, /16, etc.

    Every Espruino board would be the same, however between different STM32 devices that have different clock speeds (eg, 48Mhz instead of 72Mhz), it could be quite different.

    At the moment it's just SPI MOSI that you can use (there are a few pins that do this) because the SPI hardware is used to get the fast pulses while the software works out what bytes to send. With some extra work on Espruino it'd be possible to send the data in software only (on any pin), but the idea is that eventually the SPI hardware can be sending the data out more or less automatically while Espruino can get on with doing more calculations.

About

Avatar for Gordon @Gordon started