Search found 168 matches

by Ollie
Thu Jul 20, 2017 4:40 pm
Forum: General discussion
Topic: Introducing STM32F4 based dev board for robotics with Arduino compatible programming framework
Replies: 13
Views: 289

Re: Introducing STM32F4 based dev board for robotics with Arduino compatible programming framework

Donowak,

I know that you want to "discuss" about your hardware and software products with us. But if there are no interested discussion partners, you should make your own conclusions. This is my last post for this thread.
by Ollie
Mon Jul 17, 2017 3:09 pm
Forum: General discussion
Topic: Introducing STM32F4 based dev board for robotics with Arduino compatible programming framework
Replies: 13
Views: 289

Re: Introducing STM32F4 based dev board for robotics with Arduino compatible programming framework

Thanks Roger,

I hope that your actions will send a message to all forum users about what is acceptable and what is not.
by Ollie
Fri Jul 14, 2017 2:51 pm
Forum: General discussion
Topic: Introducing STM32F4 based dev board for robotics with Arduino compatible programming framework
Replies: 13
Views: 289

Re: Introducing STM32F4 based dev board for robotics with Arduino compatible programming framework

Interesting, but what this has to do with STM32duino?

Personally, I am annoyed by plain product promotions in this forum. If they add some relevant information that is OK, but if the purpose is to get free advertisement, that simply is wrong.
by Ollie
Sun Jul 09, 2017 4:12 pm
Forum: Welcome & FAQs
Topic: Welcome & 2 questions
Replies: 10
Views: 219

Re: Welcome & 2 questions

@Mac, I do share Pito's recommendation to go with F407 for these kinds of applications. There are very compact F407 models available that are not much larger that Teensy 3.x. The sad thing is that you cannot insert them into a breadboard. On other hand you have more pins available for peripherals. M...
by Ollie
Sat Jul 08, 2017 5:49 pm
Forum: Welcome & FAQs
Topic: Welcome & 2 questions
Replies: 10
Views: 219

Re: Welcome & 2 questions

The word "best" alone is very subjective. If you can describe your application or problem, then you would get more relevant recommendations for those use cases. For example, I am mainly involved in robotics and copters. I have been very pleased for the blue pill and F103 in general. In that frontier...
by Ollie
Fri Jul 07, 2017 3:02 pm
Forum: Code snipplets
Topic: SoftPWM via DMA and no CPU cycles
Replies: 20
Views: 283

Re: SoftPWM via DMA and no CPU cycles

This is very relevant technology. In practice, it is the only way to implement the Dshot600 and Dshot1200 digital communication with the Electronic Speed Controllers for the BLDC motors used in fast copters. The classic PWM is analog and quite slow - it used to be 20 ms, but it is still limited by t...
by Ollie
Mon Jul 03, 2017 2:03 pm
Forum: PR's bugs and enhancements
Topic: Added needed binaries for Raspberry Pi 3 ARMv7 into tools
Replies: 4
Views: 50

Re: Added needed binaries for Raspberry Pi 3 ARMv7 into tools

We as a community and Roger as a unique contributor, have a limited amount of resources available. We should use those wisely. The RPi route can take too much of those related to the benefits for the community. For me, RPi is the target and not the development platform.
by Ollie
Thu Jun 22, 2017 10:33 am
Forum: General discussion
Topic: Problem with measuring very short pulses
Replies: 30
Views: 1001

Re: Problem with measuring very short pulses

The easiest way is to use the continuously running debug counter. It gives the time at clock resolution, such as 72 MHz. You need to first enable the counter, then read the count at the beginning and then at the end.
by Ollie
Fri Jun 16, 2017 8:57 am
Forum: Code snipplets
Topic: GPIO registers and port manipulation
Replies: 13
Views: 4779

Re: GPIO registers and port manipulation

If your application is using interrupts that could manipulate the target GPIO ports, the read-modify-write operation is not safe. That is the reason, why STM has designed BSRR registers to set and reset selected pins. The monotonic pin manipulations can be done with macros #define gpio_clear(GpioPor...
by Ollie
Sat Jun 10, 2017 3:45 pm
Forum: Welcome & FAQs
Topic: STM32 MCUs and the right pick
Replies: 19
Views: 828

Re: STM32 MCUs and the right pick

@Dannyf, The trick in calculating the speed in every edge is to store all the previous edges around the full turn. At minimum, there are 4 edges that are not evenly distributed due to differences in hall sensor mounting: - rising A - falling A - rising B - falling B In addition of that, the rotating...