Search found 1499 matches

by stevestrong
Mon Sep 18, 2017 8:12 pm
Forum: Working / ported libraries
Topic: New SdFat library (with and without DMA)
Replies: 154
Views: 16222

Re: New SdFat library (with and without DMA)

Just fyi, I added support for F4 (SPI and SDIO) to SdFat library from Greiman: https://github.com/stevstrong/SdFat
PR is ongoing: https://github.com/greiman/SdFat/pull/69
by stevestrong
Mon Sep 18, 2017 6:36 pm
Forum: General discussion
Topic: Overactive interrupt triggering using internal pullups
Replies: 42
Views: 1179

Re: Overactive interrupt triggering using internal pullups

First, you should define all variables used in ISRs as "volatile". Second, it does not seem to be a bug for me, it is rather the MCU which runs couple of times faster than the AVR processors. Third, you should put a resistor (100 Ohm) in series with the capacitor to the button in order to reduce the...
by stevestrong
Mon Sep 18, 2017 12:08 pm
Forum: Libraries & Hardware
Topic: Adafruit_ILI9341_STM - improvements
Replies: 18
Views: 703

Re: Adafruit_ILI9341_STM - improvements

Manny, I see that you are using non-DMA transfers. Is there any reason why you don't use DMA transfers?

Anyway,I posted two PRs to Greiman's repo to solve this issue. https://github.com/greiman/SdFat/pulls
by stevestrong
Sat Sep 16, 2017 4:22 pm
Forum: Ideas & suggestions
Topic: Differential ADC (ADC1-ADC2)
Replies: 5
Views: 140

Re: Differential ADC (ADC1-ADC2)

With simultaneous ADC conversion (the ADC1 samples in the exactly same time as the ADC2 does) the common noise voltage cancels (because we do u1 - u2). ... theoretically. But it did not work for me, I tried that a half a year ago, still got sporadically some differential noise. Maybe due to unequal...
by stevestrong
Fri Sep 15, 2017 12:00 pm
Forum: New users MUST post here first, and let us know a bit about you and your projects
Topic: Hello and Help with USB
Replies: 1
Views: 76

Re: Hello and Help with USB

You definitely need a driver.
Read this: http://wiki.stm32duino.com/index.php?ti ... on_Windows
If it does not work, try that from ST.
by stevestrong
Thu Sep 14, 2017 11:22 am
Forum: General discussion
Topic: Proposal. Remove support for GD32 from the Libmaple repo
Replies: 10
Views: 247

Re: Proposal. Remove support for GD32 from the Libmaple repo

Search the forum for STM32F103 overclocking, 128MHz is doable, however you need to set 3 wait states for the flash to work.
by stevestrong
Wed Sep 13, 2017 7:33 am
Forum: Projects
Topic: RGB lightsaber
Replies: 64
Views: 3851

Re: RGB lightsaber

At that speed the pull-ups should be less then 1k...
by stevestrong
Tue Sep 12, 2017 8:26 am
Forum: General discussion
Topic: [POLL (Open)] Blocking behaviour of Serial.USB during TX
Replies: 21
Views: 431

Re: [POLL (Open)] Blocking behaviour of Serial.USB during TX

As I don't prefer timeout, the

Code: Select all

begin(115200, 1);
should block, meaning don't return till all bytes are sent (put into Tx buffer).
by stevestrong
Mon Sep 11, 2017 4:09 pm
Forum: General discussion
Topic: [POLL (Open)] Blocking behaviour of Serial.USB during TX
Replies: 21
Views: 431

Re: [POLL (Open)] Blocking behaviour of Serial.USB during TX

Just a dummy idea: what about
Serial.begin(<baudrate>, bool blocking = 1 or 0); // 0 per default
basically use second parameter to specify the blocking/non-blocking option.

BTW, libmaple F4 USB serial has these 2 functions:

Code: Select all

void usbEnableBlockingTx(void);
void usbDisableBlockingTx(void);