¿ªÔÆÌåÓý

Re: Using STM32 board with Arduino IDE


Jack Purdum
 

I think DuWayne will agree that there's only so much you can do in a library to speed things up. Some libraries use floating point math and, without a math coprocessor to help things along, it is going to be slower than a library that uses integer math, ceteris paribus. A library can be written in assembler and someone who is good at assembler code can make a difference, too. However, I think the biggest single factor the uC's clock speed. I saw a graphics program with a given library run on a Nano then the same program run on a Teensy 3.6. I would say there was a 10x advantage to the Teensy. I can't be sure, but I think the library used fp math, so the test really isn't fair in that the Teensy does have hardware fp on it. That said, the Teensy sells for $29 while the Nano is less than $3. I have a Teensy 3.5 and 3.6, but haven't needed the horsepower yet. I can say that I've used the Arduino IDE to successfully compile programs for both Teensys.

Jack, W8TEE



From: G4NQX <tasmod@...>
To: [email protected]
Sent: Saturday, February 4, 2017 4:30 PM
Subject: Re: [BITX20] Using STM32 board with Arduino IDE

DuWayne,
Does the graphics library speed up the graphics by a significant amount? ?? It certainly looks interesting.
I followed your journey with the SNAjr with interest.? I was doing something similar but eventually made up the Simple Scalar Network Analyser as it met my needs.
--
Rob G4NQX


Join [email protected] to automatically receive all group messages.