Start NUCLEO-G431KB

All about boards manufactured by ST
Post Reply
alex---1967
Posts: 1
Joined: Wed Feb 26, 2020 9:13 am
Location: Russia
Contact:

Start NUCLEO-G431KB

Post by alex---1967 »

Hello everybody!
I purchased NUCLEO-G431KB.
Arduino IDE fully supports this board.
But I would like this product to work faster.
In particular, we would like to increase the speed of the ADC. Is there any easy way to do this?
In the settings, there are compilation options "fast", "faster", "fastest", but these settings do not change much...
I tried installing Keil, IAR, STM32CubeIDE, but it requires 64-bit OS and so on..
I installed STM32CubeMX, but it swears on 32-bit JAVA and does not guarantee normal operation...

User avatar
fpiSTM
Posts: 478
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 15
Location: Le Mans
Contact:

Re: Start NUCLEO-G431KB

Post by fpiSTM »

Well, the analogRead is really not efficient as it doing init, calib, read and deinit each time it is call.
It is planned to provide an STM32ADC library to better mange it anyway I don't knwo when it will be available.
If you want go faster then you will have to implement your own ADC read.
I've port an STM32Cube example as an example here for the STM32F103:
viewtopic.php?f=41&t=110

You can try to do the same.

Post Reply

Return to “STM boards (Discovery, Eval, Nucleo, ...)”