Search found 291 matches

by edogaldo
Mon Jan 15, 2018 5:23 pm
Forum: General discussion
Topic: Serial buffer
Replies: 23
Views: 2273

Re: Serial buffer

I could not find a reference to "DUSART_RX_BUF_SIZE" or "DUSART_TX_BUF_SIZE" anywhere including a general google search. Do you have a reference or example? Thanks, Andrew In boards.txt you could add, for example, row: <board_name>.build.hs_flag=-DUSART_RX_BUF_SIZE=100 -DUSART_TX_BUF_SIZE=100 i.e.:...
by edogaldo
Mon Jan 15, 2018 10:12 am
Forum: General discussion
Topic: Serial buffer
Replies: 23
Views: 2273

Re: Serial buffer

In my opinion there are 2 weakness in current Serial buffer implementation: the buffer size is not easily configurable via code (anyway it could be changed at board level in boards.txt passing -DUSART_RX_BUF_SIZE=xx -DUSART_TX_BUF_SIZE=yy) if you have N Serial devices (Maple has 3 and other have mor...
by edogaldo
Thu Jan 11, 2018 2:09 pm
Forum: STM8
Topic: How do I get my AWU ISR into the interrupt vector table? [SOLVED -- RTFM!]
Replies: 17
Views: 358

Re: How do I get my AWU ISR into the interrupt vector table?

Jimmus wrote:
Wed Jan 10, 2018 8:03 pm
The problem is that after it wakes up it isn't executing the code that it's supposed to be running.
Are you saying that the sketch doesn't run the neverending empty loop?
Can it be that resuming from halt or something else (i.e. a watchdog) triggers a system reset?
by edogaldo
Sat Dec 23, 2017 7:27 pm
Forum: General discussion
Topic: Bootloader for attiny44
Replies: 1
Views: 93

Re: Bootloader for attiny44

Hi sentox, this forum is focused on Arduino over stm32. You should probably better ask on the Arduino forum or a dedicated avr forum.

Best, E.
by edogaldo
Sat Dec 23, 2017 7:51 am
Forum: General discussion
Topic: DFU bootloader in F4
Replies: 26
Views: 892

Re: DFU bootloader in F4

Hi all, I was wondering if it could be enough to set the system bootloader address in the reset handler to do the trick.

Best & merry Xmas, E.
by edogaldo
Mon Dec 18, 2017 1:32 pm
Forum: General discussion
Topic: [SOLVED] generator on a timer with an interval of 25 nanoseconds ?
Replies: 21
Views: 470

Re: generator on a timer with an interval of 25 nanoseconds ?

acronis wrote:
Mon Dec 18, 2017 1:02 pm
3. Is it possible to obtain even greater frequency generator, for example 84 or 100 or 168 MHz ?
If you just need a square wave, it should be possible to to output the system clock (up to 168MHz) via the MCO pins but I can't provide you the technical details..

Cheers, E.
by edogaldo
Wed Dec 13, 2017 4:48 pm
Forum: General discussion
Topic: GOing mad trying to sort out sleep mode on STM32F103 Bluepill board
Replies: 12
Views: 336

Re: GOing mad trying to sort out sleep mode on STM32F103 Bluepill board

Wouldn't it be enough to re-execute a Serial.begin() at wakeup?!
by edogaldo
Tue Dec 12, 2017 7:47 am
Forum: General discussion
Topic: GOing mad trying to sort out sleep mode on STM32F103 Bluepill board
Replies: 12
Views: 336

Re: GOing mad trying to sort out sleep mode on STM32F103 Bluepill board

Hello Andrew, the problem is likely due to the systick interrupt which triggers every ms.

Best, E.
by edogaldo
Fri Nov 24, 2017 9:03 am
Forum: General discussion
Topic: OverClock. at Runtime ~90MHz
Replies: 32
Views: 722

Re: OverClock. at Runtime ~90MHz

Looking at the usage of F_CPU looks like it should be enough to define F_CPU as a multiple of HSE (from 1*HSE to 16*HSE) to get the expected clocking (in a static way though). Instead I'm in doubt with: #define SYSTICK_RELOAD_VAL (F_CPU/1000) - 1 I think it should be better as: #define SYSTICK_RELOA...
by edogaldo
Thu Nov 23, 2017 7:53 am
Forum: General discussion
Topic: Problem with PWM Output lots of noise.
Replies: 8
Views: 275

Re: Problem with PWM Output lots of noise.

Maybe, just an hypotesis though, this could depend on irq priorities.
Try investigating in that direction.

Cheers, E.