Search found 14 matches

by terraduino
Thu Oct 12, 2017 12:41 am
Forum: STM32F103 Boards
Topic: Sleep x ms and wakeup automatically
Replies: 4
Views: 126

Re: Sleep x ms and wakeup automatically

Oh, sorry. Wasn't aware of it's origin. It's readme.md refer to viewtopic.php?f=3&t=658

Best
by terraduino
Thu Oct 12, 2017 12:22 am
Forum: STM32F103 Boards
Topic: Sleep x ms and wakeup automatically
Replies: 4
Views: 126

Re: Sleep x ms and wakeup automatically

Thank you for the link.
I'll have a look if I can solve my problem with the updates and get back here later.

Best
by terraduino
Wed Oct 11, 2017 11:12 pm
Forum: STM32F103 Boards
Topic: Sleep x ms and wakeup automatically
Replies: 4
Views: 126

Sleep x ms and wakeup automatically

I want my STM32F103C8 to sleep for x ms. When sleeping for seconds, I use this code #include <STM32Sleep.h> #include <RTClock.h> RTClock rt(RTCSEL_LSE); ... sleepAndWakeUp(STOP, &rt, iSecondsToSleep); which works as expected. Unfortunately, I failed to implement "sleep for x milliseconds" myself. I ...
by terraduino
Tue Sep 12, 2017 12:30 am
Forum: Windows
Topic: Failed to init device STM32 using Arduino
Replies: 3
Views: 520

Re: Failed to init device STM32 using Arduino

Thanks @RogerClark for the info.
I agree, the STLink clones are cheap enough. However, I would prefer to have not another device sit on my desk. Moreover, I would be tempted to buy some STM8 to put the STLink clone to good use :) And, unfortunately, the WAF is already low here ... ;)

Thanks & best
by terraduino
Sun Sep 10, 2017 9:57 pm
Forum: Windows
Topic: Failed to init device STM32 using Arduino
Replies: 3
Views: 520

Re: Failed to init device STM32 using Arduino

Hi, I've the same error. stm32flash -w ~/Downloads/gd32f1_generic_boot20_pc13.bin -v -g 0x0 /dev/ttyUSB0 -b 115200 stm32flash Arduino_STM32_0.9 http://github.com/rogerclarkmelbourne/arduino_stm32 Using Parser : Raw BINARY Interface serial_posix: 115200 8E1 Failed to init device. stm32flash -w ~/Down...
by terraduino
Sat Aug 12, 2017 8:14 pm
Forum: General discussion
Topic: [SOLVED] IRQ handling problem (updated: electronic interference?)
Replies: 12
Views: 408

Re: IRQ handling problem (updated: electronic interference?)

Interesting, didn't know that.

Thanks & best
by terraduino
Thu Aug 10, 2017 11:14 am
Forum: General discussion
Topic: [SOLVED] IRQ handling problem (updated: electronic interference?)
Replies: 12
Views: 408

Re: IRQ handling problem (updated: electronic interference?)

Good question. Don't know which it was but maybe I find some time to test a bunch of them. Would be interesting to know.
Unfortunately, the setup of my home office changed a lot yesterday. Anyway, we'll see :)
by terraduino
Mon Aug 07, 2017 10:17 pm
Forum: General discussion
Topic: [SOLVED] IRQ handling problem (updated: electronic interference?)
Replies: 12
Views: 408

Re: IRQ handling problem (updated: electronic interference?)

Actually, I did change the USB cable.
But it's weaker--meaning less max. current--than the previous one. Hence, I would expect more problem ;)
by terraduino
Fri Aug 04, 2017 11:40 pm
Forum: General discussion
Topic: [SOLVED] IRQ handling problem (updated: electronic interference?)
Replies: 12
Views: 408

Re: IRQ handling problem (updated: electronic interference?)

Electronics is ... weird. I tried to reproduce the error that I stumbled across some weeks ago. However, the BluePill runs stable now and no IRQ is triggered. No idea what changed but if I can reproduce the error I'll let you know.

Best
by terraduino
Sat Jul 22, 2017 1:01 pm
Forum: General discussion
Topic: [SOLVED] IRQ handling problem (updated: electronic interference?)
Replies: 12
Views: 408

Re: IRQ handling problem (updated: electronic interference?)

Dear @victor_pv, sorry for the late response. I'll update this thread as soon as I have news.
I'll add a large and a very small capacitor to the BluePill GND/VCC and see if it helps.
Best