Search found 432 matches

by edogaldo
Sat Jan 05, 2019 5:29 pm
Forum: Libraries & Hardware
Topic: PID library
Replies: 10
Views: 1320

Re: PID library

I can see several differences in the two versions, for example the usage of 2 external interrupts in the Arduino version that I can’t see in the STM version, so the two sketches don’t seem equivalent on a first check..
by edogaldo
Tue Jan 01, 2019 12:28 am
Forum: STM32F103 Boards
Topic: Low power mode with and without USB
Replies: 3
Views: 397

Re: Low power mode with and without USB

It seems to me you didn’t disable the systick which is a wakeup trigger.
by edogaldo
Mon Dec 17, 2018 6:29 pm
Forum: Let us know a bit about you and your projects
Topic: [SOLVED] micros() curiosity
Replies: 16
Views: 619

Re: micros() curiosity

Imangine the micros as composed of two parts that must be read separately: the integer part and the decimal part. Scenario: At time 10.992 you read the decimal part (0.992) At time 11.002 you read the integer part (11) Then you would return 11.992, which is far different from 10.992 or 11.002. Even ...
by edogaldo
Wed Dec 05, 2018 10:33 pm
Forum: STM32F103 Boards
Topic: How to get real adc dac on bluepill
Replies: 2
Views: 609

Re: How to get real adc dac on bluepill

According to the specs, the blue pill does not have DAC, only ADC.
DAC is only supported on the bigger versions (the so said high density and xl density versions)
by edogaldo
Wed Oct 24, 2018 6:13 am
Forum: Let us know a bit about you and your projects
Topic: [SOLVED] New user Algo w/ Naze32 Serial.print over USB issues
Replies: 5
Views: 289

Re: Naze32 Serial.print over USB issues

Algo wrote:
Tue Oct 23, 2018 1:59 pm
Do I need to change the oscillator as indicated in the post that you suggest me?
I had to changed the define BOARD_RCC_PLLMUL RCC_PLLMUL_6 for F_CPU==72000000, in boards_setup.cpp because the board has a 12khz oszillator.
Cheers
Omar
If you have a 12MHz oscillator, yes.
by edogaldo
Sun Oct 14, 2018 12:49 pm
Forum: STM32F103 Boards
Topic: [SOLVED] Blue Pills and USB (again)
Replies: 7
Views: 827

Re: Blue Pills and USB (again)

Pay attention to this:

Code: Select all

... Upload to Flash 0x8005000"
Looks like you are using the option to upload via the legacy Maple bootloader.
Roger's one uploads to 0x08002000.
by edogaldo
Thu Oct 04, 2018 7:26 am
Forum: STM core: Bugs and enhancements
Topic: Want to add PWM frequency control and PWM pulse counting function.
Replies: 7
Views: 1737

Re: Want to add PWM frequency control and PWM pulse counting function.

.... until the Official core incorporates PWM, the danieleff GENERIC core is a HAL wrapper and performs PWM: http://stm32duinoforum.com/forum/viewtopic.php?t=2194#p29860 Core: https://github.com/danieleff/STM32GENERIC Ray Just to clarify: the STM core already supports PWM but in the standard Arduino form...
by edogaldo
Tue Sep 25, 2018 10:22 am
Forum: General discussion
Topic: [SOLVED]millis() from different BluePills is drifting a lot
Replies: 30
Views: 1432

Re: millis() from different BluePills is drifting a lot

Missing details I'd tend for sure to blame your code or synchronization design also because your sentence: I've also yet to flash the latest bootloader, was there such a bug in the original maple bootloader? seems to show lack of knowledge on how things work: there is no relationship between the boo...
by edogaldo
Mon Sep 24, 2018 5:32 pm
Forum: STM Core
Topic: Adding support for vcc-gnd "Blue F407 mini" board to official STM core
Replies: 0
Views: 320

Adding support for vcc-gnd "Blue F407 mini" board to official STM core

Hello.
For who could be interested I pushed pull request #335 to support subject board with the official STM core.
Testing support would be welcome.

Thanks in advance and best, E.