Search found 7 matches

by carloca
Sun Oct 06, 2024 4:31 pm
Forum: STM32G4 based boards
Topic: working with DAC and comparator i got "undefined reference to `HAL_COMP_Init'
Replies: 1
Views: 4530

working with DAC and comparator i got "undefined reference to `HAL_COMP_Init'

Hi everyone,
i'm trying to bring auto generated code from STM32CUBEMX to Arduino,
what i need is internal DAC connected to Comparator (input- is DAC1 OUT1)
the error message isn't so much helpful, it looks like i'm missing some #include file to me, but can't figure out what's the one i need,
the ...
by carloca
Thu Apr 16, 2020 7:27 pm
Forum: STM32F1 based boards
Topic: Analog read 12 bits
Replies: 3
Views: 18394

Re: Analog read 12 bits

yes, i'm just facing this challenge..
Thanks
mrburnette wrote: Tue Apr 14, 2020 1:53 am Remember. Going from 10-bits to 12-bits increasingly make the low-order bits more sensitive to noise on analog inputs and analog reference. You may need to implement better electronic hardware designs.

Ray
by carloca
Mon Apr 13, 2020 12:27 pm
Forum: STM32F1 based boards
Topic: Analog read 12 bits
Replies: 3
Views: 18394

[self SOLVED]

analogReadResolution(12); solved the problem

sorry for the silly question
by carloca
Mon Apr 13, 2020 12:02 pm
Forum: STM32F1 based boards
Topic: Analog read 12 bits
Replies: 3
Views: 18394

Analog read 12 bits

Hi,
it looks like the analogRead function reads only a 10bits value (0-1023)
is there any way to read an analog value with the 12-bits resolution offered by this chip??
thanks
carlo
by carloca
Wed Mar 18, 2020 12:46 pm
Forum: STM32F1 based boards
Topic: ST-Link and Blue Pill
Replies: 4
Views: 17814

[solved] Re: ST-Link and Blue Pill

Thanks a lot
I already have STM32CubeProg installed..
by carloca
Tue Mar 17, 2020 8:43 pm
Forum: STM32F1 based boards
Topic: ST-Link and Blue Pill
Replies: 4
Views: 17814

ST-Link and Blue Pill

Hi,
Is it possible to download code with ST-Link within Arduino IDE to a blue pill board?
I don't see the right "upload method"
Thanks
by carloca
Tue Mar 17, 2020 8:41 pm
Forum: Let us know a bit about you and your projects
Topic: Hi
Replies: 1
Views: 3258

Hi

Hi everyone,
I'm completely a newby here, but I have some skill with other platforms,
hope to enjoy,

Go to advanced search