Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Using STM32 board with Arduino IDE
Jack Purdum
Interesting and I don't know much about these. I do like the Teensy 3.5 and 3.6 because the have at least 512Kb of flash and 192K of SRAM and are clocked at 120MHz or higher. So far, however, I haven't needed that much horsepower. Jack, W8TEE From: G4NQX <tasmod@...> To: [email protected] Sent: Saturday, February 4, 2017 7:39 AM Subject: [BITX20] Using STM32 board with Arduino IDE One for Jack W8TEE really ut it may interest others, this webpage details some boards and using them with the Arduino IDE. Very interesting. -- Rob G4NQX |
I have been playing with a couple of different 32 bit alternatives to the 8 bit Arduino Nano that I had been using in most of my projects. I had tried several of the Teensy models both the LC and the version 3.2. They worked well but are more expensive than the $3 Nano. I just received a couple very inexpensive stm-32 boards I ordered on eBay.
Search for STM32F103C8T6-ARM-STM32-Minimum-System-Development-Board-Module-For-Arduino and you will find multiple sellers, with prices starting at under $3. You will have to use either a USB-serial converter like with a Pro-Mini or a STlink programmer ( under $5 ). There is also the option of using either method to burn a bootloader directly to the board, and then program through the micro USB port on the board. I replced the Teensy in the breadboard I had setup for the controller/display for my latest project. The results are very favorable, it looks like this will be the replacement for the Nano in future projects. I updated my blog page with a picture of the breadboard with the stm-32 in use. DuWayne KV4QB -- DuWayne? KV4QB |
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 |
to navigate to use esc to dismiss