Search found 1605 matches

by stevestrong
Thu Oct 19, 2017 1:41 pm
Forum: New users MUST post here first, and let us know a bit about you and your projects
Topic: halo from indonesia
Replies: 8
Views: 85

Re: halo from indonesia

For output on PA9/PA10, you have to use Serial1.

Code: Select all

void setup() {
    Serial1.begin(115200);
    Serial1.print("test print donk");
}
uint32_t counter;
void loop() {
  Serial1.println(counter++);
  delay(1000);
}
by stevestrong
Thu Oct 19, 2017 12:13 pm
Forum: STM32F4 Boards
Topic: [libmaple] Black F407VET6
Replies: 104
Views: 3800

Re: [libmaple] Black F407VET6

Use the brackets correctly:

Code: Select all

dataPoints[j+1] = (&ADC2)->regs->DR & ADC_DR_DATA;
by stevestrong
Wed Oct 18, 2017 7:36 am
Forum: General discussion
Topic: Power Blue Pill and Maple Mini from external 3.3 source?
Replies: 5
Views: 143

Re: Power Blue Pill and Maple Mini from external 3.3 source?

I have a blue pill working 24/7 with external 3.3V supply since 6 months, with the on-board 5V->3.3V regulator.
And it still works...
by stevestrong
Wed Oct 18, 2017 7:34 am
Forum: Libary request
Topic: CAN Bus Library for STM32F103
Replies: 121
Views: 21302

Re: CAN Bus Library for STM32F103

Hm, I only had a short look into the PR, it seems to have changes really deep in the well optimized USB CDC part.
I am not happy to see this, I rate the risk to something go wrong on serial USB quite high.
by stevestrong
Mon Oct 16, 2017 7:35 am
Forum: STM32F4 Boards
Topic: Couldn't find the DFU device: [1EAF:0003]
Replies: 1
Views: 51

Re: Couldn't find the DFU device: [1EAF:0003]

It is a good practice to search the forum before you post something.
Maybe this will help you out: viewtopic.php?f=39&t=2663
by stevestrong
Sun Oct 15, 2017 4:10 pm
Forum: STM32F4 Boards
Topic: [libmaple] Black F407VET6
Replies: 104
Views: 3800

Re: [libmaple] Black F407VET6

Oh well, I see your point, there are many places which use ADC as a pointer and not as the structure address.
The ideal solution would be to change the ADC module of F4 to be compatible with F1.
Till then, you can replace ADCx by (&ADCx).
by stevestrong
Sun Oct 15, 2017 3:52 pm
Forum: STM32F4 Boards
Topic: [libmaple] FSMC LCD 16bit
Replies: 60
Views: 1409

Re: [libmaple] FSMC LCD 16bit

Here is a short video of my setup: http://www.stm32duino.com/viewtopic.php?f=39&t=2298#p31037 My settings? Just the basic stuff: Win 10, Arduino IDE 1.6.12, Tools->Board: Generic F407VE series, USB serial active. + my repo , and my Adafruit 16 bit lib with activated FSMC, and the Adafruit_GFX_AS lib...
by stevestrong
Sun Oct 15, 2017 8:31 am
Forum: STM32F4 Boards
Topic: [libmaple] Black F407VET6
Replies: 104
Views: 3800

Re: [libmaple] Black F407VET6

I think for F4 you have to use: adc_set_sample_rate(&ADC1, ADC_SMPR_1_5); because ADC1 is not a pointer but the ADC1 device structure. So you have to pass its address, that is why &ADC. For F1 is different because the F1 ADC structure includes ISR handlers which are not constant. However, please not...
by stevestrong
Sat Oct 14, 2017 7:05 pm
Forum: STM32F4 Boards
Topic: [libmaple] FSMC LCD 16bit
Replies: 60
Views: 1409

Re: [libmaple] FSMC LCD 16bit

Nice, thanks for letting me know.
Then I suggest to use this.

EDIT
I modified the lib to get rid of compiler warnings, find attached here.
Place it under Arduino_STM32/STM32F4/libraries.
by stevestrong
Sat Oct 14, 2017 5:53 pm
Forum: STM32F4 Boards
Topic: [libmaple] FSMC LCD 16bit
Replies: 60
Views: 1409

Re: [libmaple] FSMC LCD 16bit

My local Adafruit_GFX version is dated April 2017, so it may happen that they changed something since then. Could any of you try to copy the Adafruit_GFX_AS lib from F1 to F4 lib directory? Then replace in the 16 bit lib header file #include <Adafruit_GFX.h> by #include <Adafruit_GFX_AS.h> and tell ...