Search found 7174 matches

by RogerClark
Thu Nov 23, 2017 11:21 am
Forum: General discussion
Topic: Problem with PWM Output lots of noise.
Replies: 4
Views: 81

Re: Problem with PWM Output lots of noise.

Can you post a code snippet

Thanks
by RogerClark
Thu Nov 23, 2017 11:18 am
Forum: New users MUST post here first, and let us know a bit about you and your projects
Topic: Introduction
Replies: 2
Views: 19

Re: Introduction

welcome

What questions do you have ?
by RogerClark
Thu Nov 23, 2017 5:37 am
Forum: New users MUST post here first, and let us know a bit about you and your projects
Topic: Greetings from Reading, Pa
Replies: 1
Views: 19

Re: Greetings from Reading, Pa

Welcome We have several ham radio operators in the site, including me... I've not used the STM32 for any traditional ham radio related activities, but I have been looking at some LoRa modules as they can operate on 2m and 70cm. I've been hoping to set up a test with Lee (VK3KP) or NIck (VK3TY) bough...
by RogerClark
Wed Nov 22, 2017 9:56 pm
Forum: General discussion
Topic: ST-Link Vs Jlink
Replies: 15
Views: 146

Re: ST-Link Vs Jlink

Rick I did investigate whether it would be possible to make a USB mass storage bootloader but I think the overhead of the file system, made it quite large Drive letter on Windows can also be a problem for automating the USB Mass storage, as the IDE does have a dropdown to select mass storage drive f...
by RogerClark
Wed Nov 22, 2017 9:12 pm
Forum: General discussion
Topic: ST-Link Vs Jlink
Replies: 15
Views: 146

Re: ST-Link Vs Jlink

With JLink you are also playing for JFlash and the large suite of tools which support thousands of processors. STLink is only designed to program ST devices (but can program others if you use Open OCD) , hence it just has a simple windows GUI and command line exe Note. STLink on some Nucleo boards a...
by RogerClark
Wed Nov 22, 2017 9:09 pm
Forum: Projects
Topic: Complete dashboard for an old car
Replies: 12
Views: 195

Re: Complete dashboard for an old car

Andy

Why does the power have to be physically removed from the STM32 by a relay ?

Won't just putting it into low power mode, reduce the current consumption considerably ?
by RogerClark
Wed Nov 22, 2017 8:46 pm
Forum: General discussion
Topic: Newbie question about 'short' and 'uint16_t' data types
Replies: 8
Views: 61

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

ken,

You could post your code and ask people for suggestions to speed it up.

BTW I presume you already inlined the functions and looked at unrolling loops and also branch optimisation, and use of lookup tables etc etc
by RogerClark
Wed Nov 22, 2017 8:42 pm
Forum: Projects
Topic: Complete dashboard for an old car
Replies: 12
Views: 195

Re: Complete dashboard for an old car

I forgot to say, my problem was compounded by leaving the car at the airport for a month, but.. Yes. do not leave the STM32 running all the time. Lipo sounds good idea, as in its Low power / sleep mode, it will run for many months on a 2000mAH battery. Probably run it from tha battery all the time, ...
by RogerClark
Wed Nov 22, 2017 8:27 pm
Forum: General discussion
Topic: ST-Link Vs Jlink
Replies: 15
Views: 146

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: 8
Views: 61

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