Search found 633 matches

by mrburnette
Wed Jan 20, 2021 12:37 am
Forum: General discussion
Topic: Update interrupt of timer when overflow
Replies: 1
Views: 5491

Re: Update interrupt of timer when overflow

https://www.google.com/search?&q=interrupt+timers+site%3Astm32duinoforum.com This thread looks promising: https://stm32duinoforum.com/forum/viewtopic_f_18_t_2673.html I suggest you refer to AN4776 Application Note The original documentation on timers is here: http://docs.leaflabs.com/docs.leafl...
by mrburnette
Wed Jan 20, 2021 12:33 am
Forum: General discussion
Topic: [Solved] How to get SdFat to work on the ST Core/STM32F103
Replies: 13
Views: 6113

Re: Does SdFat work on the ST Core on a STM32F103?

It works. Both STM core and Roger's core... But API's are different.
viewtopic.php?p=5693#p5693

You can search the forum from the "Search..." dialog in the upper-right of the webpage.
In this case, "SD Card" gave me the answer ...
by mrburnette
Tue Jan 19, 2021 1:29 am
Forum: General discussion
Topic: SoftwareSerial did not working
Replies: 2
Views: 2224

Re: SoftwareSerial did not working

I have used SS with Maple Mini and Roger's core:


viewtopic.php?p=5596#p5596

A modified copy exists in the zip. Long, long time ago, may have some compiler warnings today.
by mrburnette
Tue Jan 19, 2021 1:23 am
Forum: Maple & Maple mini etc
Topic: SD-Card Reader problem
Replies: 14
Views: 17908

Re: SD-Card Reader problem

... on rogers core i select the generic STM32F103 board. I program the Maple Mini Clone not via USB i program it via an Arduino Nano TX and RX Pin. ... On Linux, serial upload, Maple Mini Clone, Roger's core will appear as: https://www.stm32duino.com/download/file.php?id=188 https://www.stm32duino....
by mrburnette
Thu Jan 14, 2021 1:34 pm
Forum: General discussion
Topic: [SOLVED] Temp sensor DS18B20 on STM32 sometimes read 85
Replies: 13
Views: 10949

Re: Temp sensor DS18B20 on STM32 sometimes read 85

Are you "really" supplying +5V from DC-DC to the 3.3V uC as shown in the schematic?
by mrburnette
Thu Jan 14, 2021 1:25 pm
Forum: Ideas & suggestions
Topic: LCD
Replies: 25
Views: 95933

Re: LCD

Start by reviewing existing material on the subject, for example https://www.instructables.com/DIY-EEG-and-ECG-Circuit/#discuss What function do you wish the uC to perform? The A/D of the bluepill is not appropriate for EEG. One can easily drive a TFT such as an ILI9341 from the bluepill, but the an...
by mrburnette
Sun Jan 10, 2021 5:56 pm
Forum: General discussion
Topic: memory protection detecting stack overwriting heap
Replies: 5
Views: 3199

Re: memory protection detecting stack overwriting heap

This article is interesting and directly pertinent to PlatformIO: https://medium.com/coinmonks/stm32-blue-pill-analyse-and-optimise-your-ram-and-rom-9fc805e16ed7 STM32duino build would require editing the boards.txt to include the linker map file output name. Otherwise, I suspect the results are the...
by mrburnette
Sun Jan 10, 2021 1:14 am
Forum: General discussion
Topic: increase the serial1 buffer size
Replies: 7
Views: 5501

Re: increase the serial1 buffer size

@Edogaldo,

I seem to remember some concerns about making the buffers long and causing lost interrupts/data corruption ... I cannot find the post, so I could be off on this, 'tis been a while.

In any case, through testing needs to be carried out with buffers larger than default.

Ray
by mrburnette
Sat Jan 09, 2021 10:48 pm
Forum: General discussion
Topic: increase the serial1 buffer size
Replies: 7
Views: 5501

Re: increase the serial1 buffer size

Hi, if I can recall correctly you can pass USART_RX_BUF_SIZE and USART_TX_BUF_SIZE as compiler options via the -D parameter. https://stm32duinoforum.com/forum/viewtopic_f_16_t_2401_start_20.html#p41706 but I do not see that it was implemented. Looking at https://github.com/rogerclarkmelbourne/Ardui...
by mrburnette
Sat Jan 09, 2021 2:40 pm
Forum: General discussion
Topic: increase the serial1 buffer size
Replies: 7
Views: 5501

Re: increase the serial1 buffer size

You can use software serial to create a double-buffer (2 line) scheme of arbitrary length. Ladyada did this with the AVR version of her Adafruit GPS code. https://github.com/adafruit/Adafruit_GPS/blob/master/src/Adafruit_GPS.cpp Adafruit_GPS::Adafruit_GPS(SoftwareSerial *ser) { common_init(); // Set...

Go to advanced search