Search found 247 matches

by edogaldo
Fri May 26, 2017 7:41 am
Forum: STM core: Bugs and enhancements
Topic: pinMode() disables timer even if no PWM mode involved
Replies: 29
Views: 423

Re: pinMode() disables timer even if no PWM mode involved

edogaldo, can you please detail which things exactly get broken with this PR? Hi Steve, I'm in doubt with this part: } else { // disable channel output in non pwm-Mode timer_cc_disable(PIN_MAP[pin].timer_device, PIN_MAP[pin].timer_channel); } A question as I'm not that expert with timers: can't we ...
by edogaldo
Fri May 26, 2017 7:27 am
Forum: STM core: Bugs and enhancements
Topic: pinMode() disables timer even if no PWM mode involved
Replies: 29
Views: 423

Re: pinMode() disables timer even if no PWM mode involved

Can a PR be generated for just the pinMode change Hi Roger, there is PR #288 which addresses it but I don't understand why the guy added a second commit which, on my opinion, breaks things again.. I think the 1st commit only is ok (there's just the need to also modify the commit which still talks a...
by edogaldo
Fri May 26, 2017 7:17 am
Forum: General discussion
Topic: Set flash wait states based on CPU frequency
Replies: 2
Views: 30

Re: Set flash wait states based on CPU frequency

Hi Roger, just a note: in the PR assumption is to use HSI for 8MHz, not HSE.
by edogaldo
Wed May 24, 2017 6:08 pm
Forum: General discussion
Topic: blue pill board bricked by maple mini updater.ino
Replies: 25
Views: 190

Re: blue pill board bricked by maple mini updater.ino

petr wrote:The stm32flash gets some response, it's just not valid.

The stm32flash loader relies on python, correct? Which version of python are yoy using? Afaik the flash loader is compatible with v2.6 but not with v3
I had a similar issue running the loader with python v3
by edogaldo
Fri May 19, 2017 12:23 pm
Forum: General discussion
Topic: Problem with receiving infrared remote control codes
Replies: 10
Views: 137

Re: Problem with receiving infrared remote control codes

there is some discussion here http://www.stm32duino.com/viewtopic.php?f=3&t=2091 about the uart ring buffer, which apparently stalls if some of the ring buffer variables is not declared as volatile. you may want to try those fixes if it relates to usb - serial stalls, i'm not too sure if that r...
by edogaldo
Thu May 18, 2017 8:59 pm
Forum: STM core: Bugs and enhancements
Topic: pinMode() disables timer even if no PWM mode involved
Replies: 29
Views: 423

Re: pinMode() disables timer even if no PWM mode involved

By the way, I just noticed this thread is in "STM core: Bugs and enhancements" section.
If we are referring to the Maple core I'd suggest to move it elsewhere..
Too many cores these days... :? :lol:
by edogaldo
Thu May 18, 2017 4:39 pm
Forum: STM core: Bugs and enhancements
Topic: pinMode() disables timer even if no PWM mode involved
Replies: 29
Views: 423

Re: pinMode() disables timer even if no PWM mode involved

Just an idea: reinvoking pinMode() doesn't solve the issue?
by edogaldo
Wed May 17, 2017 7:28 am
Forum: Libraries & Hardware
Topic: AES Lib for STM32F103C8
Replies: 4
Views: 125

Re: AES Lib for STM32F103C8

Good day. Before I used AESLib for Arduino uno/mega. Now, I want change my code for STM32F103C8 in Arduino IDE. Does anybody have such library for AES-256 crypto on stm32 in Arduino IDE? Mayby I can import my Arduino's library to STM32? Thanks Hi, if you are referring to this one , it worked to me ...
by edogaldo
Mon May 15, 2017 10:13 pm
Forum: General discussion
Topic: Strange behaviour with usart ring buffer
Replies: 2
Views: 129

Re: Strange behaviour with usart ring buffer

Found the problem: the ring buffer variables were not marked as "volatile" so the compiler didn't bother to repeatedly perform the checks..

Go to advanced search