Search found 7166 matches

by RogerClark
Wed Nov 22, 2017 8:27 pm
Forum: General discussion
Topic: ST-Link Vs Jlink
Replies: 9
Views: 75

Re: ST-Link Vs Jlink

I have found that the JLink boards from China have a habit of erasing themselves, Fortunately someone posted an old binary on the web ages ago and it is possible to reflash them. Nevertheless it’s a pain when this happens Also there are some JLinks on eBay ( from China) which use a STM32. They do wo...
by RogerClark
Wed Nov 22, 2017 8:22 pm
Forum: General discussion
Topic: Newbie question about 'short' and 'uint16_t' data types
Replies: 6
Views: 24

Re: Newbie question about 'short' and 'uint16_t' data types

OK

Some things are a lot faster with higher optimisation settings, but your code could potentially already be quite well optimised
by RogerClark
Wed Nov 22, 2017 8:02 pm
Forum: General discussion
Topic: Newbie question about 'short' and 'uint16_t' data types
Replies: 6
Views: 24

Re: Newbie question about 'short' and 'uint16_t' data types

On the F1 floats and doubles will be slower as it does not have a FPU The F4 has a FPU so the speed would be almost identical for both int and float Try the -O3 optimisation setting, you will probably notice a decent increase in speed Personally, I would prefer if the default was -O2 but the view of...
by RogerClark
Wed Nov 22, 2017 7:59 pm
Forum: Libraries & Hardware
Topic: Recomendations for working components - TFT, OLED, ..
Replies: 3
Views: 33

Re: Recomendations for working components - TFT, OLED, ..

I doubt the frequency library would work without modifications. It’s a Teensy library which also has AVR support, but would probably not work on other processors like ESP8266 or ESP32 or SRM32 without modification The modifications may be as simple as adding more #ifdef clauses into the code, but it...
by RogerClark
Wed Nov 22, 2017 7:50 pm
Forum: Projects
Topic: Complete dashboard for an old car
Replies: 6
Views: 140

Re: Complete dashboard for an old car

I am not sure if you are using and OBD adapter, but I left one of those Bluetooth OBD adapters plugged into my car for several months and found that one day the car would not start because the battery was flat Initially I thought the alternator was faulty, but eventually realised that the OBD had be...
by RogerClark
Wed Nov 22, 2017 7:40 pm
Forum: General discussion
Topic: Newbie question about 'short' and 'uint16_t' data types
Replies: 6
Views: 24

Re: Newbie question about 'short' and 'uint16_t' data types

The compiler does all sorts of tricks to improve code speed or size, so the only way to really know if changing to 16 bit would be faster would be to change it and do some timing tests. My guess would be that you would not speed things up, but may save some RAM There is an optimise option menu, in m...
by RogerClark
Wed Nov 22, 2017 10:05 am
Forum: Libraries & Hardware
Topic: Recomendations for working components - TFT, OLED, ..
Replies: 3
Views: 33

Re: Recomendations for working components - TFT, OLED, ..

The most used LCD screens are the ILI9341 SPI based ones, they come in 2.4 inch and other sizes. (note there are parallel and SPI versions, but SPI is most well supported and takes far less wires) We use a modified version of the Adafruit graphics lib, so you should be able to install additional fon...
by RogerClark
Wed Nov 22, 2017 9:57 am
Forum: General discussion
Topic: ST-Link Vs Jlink
Replies: 9
Views: 75

Re: ST-Link Vs Jlink

For the STM32F103, the MCU can be directly flashed via USB to Serial or some sort of SWD programmer JLink, BlackMagic Probe and ST-Link are all SWD programmers. There other types of SWD progamers, but my Libmaple based repo only supports upload via those three. The Maple bootloader (aka stm32duino b...
by RogerClark
Wed Nov 22, 2017 6:37 am
Forum: General discussion
Topic: ST-Link Vs Jlink
Replies: 9
Views: 75

Re: ST-Link Vs Jlink

J-Link provides both JTAG and SWD hardware interfaces (and possibly others), but ST-Link only does SWD and SWIM At a hardware level both can be used to program the STM32 My LibMaple based Arduino Core has the option to upload via JLink for some boards eg. generic _stm32f103 aka Blue Pill However it ...
by RogerClark
Tue Nov 21, 2017 8:18 pm
Forum: New users MUST post here first, and let us know a bit about you and your projects
Topic: Hello from Canada
Replies: 3
Views: 38

Re: Hello from Canada

welcome The F4 is a good platform for dsp as it has floating point, but I2S is also available on the larger F103 decvices. F4 support in my repo is not as well supported as the F1 ( about 90% of the forum members only use the F1), so you may want to look at STMs own Arduino Core or Danielef’s STM32 ...