Search found 9 matches

by alfsch
Fri Mar 13, 2020 1:52 pm
Forum: IDE's
Topic: Blue Pill clock define
Replies: 10
Views: 14773

Re: Blue Pill clock define

As it is a weak, you can redefine it at sketch level extern "C" void SystemClock_Config(void) {...} great! so i can set it so easy to...whatever i want. is other peripheral setting same? (no, i dont think so..) so: why not make all definitions set "weak", so the the user can cha...
by alfsch
Fri Mar 13, 2020 7:47 am
Forum: IDE's
Topic: Blue Pill clock define
Replies: 10
Views: 14773

Re: Blue Pill clock define

what i did, just for testing at different clocks: look for the "variant.cpp" file, related to the used board; maybe...you use: in arduino board settings -> "generic STM32F1 series" and board part "BluePill F103C8", what should be the "blue pill" (with F103 cpu...
by alfsch
Wed Feb 26, 2020 4:32 pm
Forum: IDE's
Topic: STM32CubeIDE -- using libs from arduino
Replies: 3
Views: 7185

STM32CubeIDE -- using libs from arduino

in the STM32CubeIDE i already use a lib from the arduino-universe ; it is in plain C , so include xx.c + xx.h and it is working.

but what if the lib is in C++ ? and including a lot of other libs and defines ? how to get it working in STM32CubeIDE ?

regards
Alfred
by alfsch
Sat Feb 15, 2020 9:39 am
Forum: Projects
Topic: [Solved] TFT LCD on Nucleo64-F303 + problems...
Replies: 13
Views: 10548

Re: TFT LCD on Nucleo64-F303 + problems...

ok... so first hardware: (was) Nucleo64 F302R8 ; but shit..small flash (didnt realize, when i ordered this. ) so need bigger, for the design of : LISA (Loudpeaker Impulse Spectrum Analyzer ) , with FFT and a TFT display , mobile running from a LiPo cell. ok, so first found a F303RET on aliexpress at...
by alfsch
Fri Feb 14, 2020 6:15 pm
Forum: Projects
Topic: [Solved] TFT LCD on Nucleo64-F303 + problems...
Replies: 13
Views: 10548

Re: TFT LCD on Nucleo64-F303 + problems...

ok, got it working. was a bit hard fight...init ADC1 , 2, and 3 to hi speed and then mod the touch lib, to read ADC /analog in 10bits and 20x oversampling (otherwise ADC too fast for "touch"... ) now its running... https://www.smilies.4-user.de/include/Fahrzeuge/smilie_car_025.gif just to ...
by alfsch
Fri Feb 14, 2020 1:49 pm
Forum: Projects
Topic: [Solved] TFT LCD on Nucleo64-F303 + problems...
Replies: 13
Views: 10548

Re: TFT LCD on Nucleo64-F303 + problems...

ok, i try...
by alfsch
Fri Feb 14, 2020 11:19 am
Forum: Projects
Topic: [Solved] TFT LCD on Nucleo64-F303 + problems...
Replies: 13
Views: 10548

Re: TFT LCD on Nucleo64-F303 + problems...

thx , Frederic ( right ? ) ;) now i get about 1 Ms from ADC1 , with software call: HAL_ADC_Start(&AdcHandle); while ((HAL_ADC_GetState(&AdcHandle), HAL_ADC_STATE_READY) == 0); ii[j] = HAL_ADC_GetValue(&AdcHandle); the important thing was: to create this build_opt.h file , omg. btw: direc...
by alfsch
Thu Feb 13, 2020 6:22 pm
Forum: Projects
Topic: [Solved] TFT LCD on Nucleo64-F303 + problems...
Replies: 13
Views: 10548

[Solved] TFT LCD on Nucleo64-F303 + problems...

now i got the TFT , 400x240 pix, ST7793 controller, running on arduino; thx to the MCUFRIEND-kbv lib. (..and David ;) , who made it ). BUT: i want some fast ADC data, so the arduino "analogRead(A5)" is much too slow. (about 10 ks , i want 800 ks , what should be really no problem for 5 Ms ...
by alfsch
Thu Feb 13, 2020 5:18 pm
Forum: Let us know a bit about you and your projects
Topic: Hello guys / ST32 users !
Replies: 1
Views: 2660

Hello guys / ST32 users !

i am Alfred, from Germany, R&D engineer, and startet with STM32 about 12 years ago with the STM32 Primer ... 8-) now, since some time, use Arduino for little fun projects, most tine nano (AVR) boards. and for the "bigger" cpus, until now only STM , the STM32CubeIDE , which is a better ...

Go to advanced search