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...
Start NUCLEO-G431KB
-
- Posts: 1
- Joined: Wed Feb 26, 2020 9:13 am
- Location: Russia
- Contact:
Re: Start NUCLEO-G431KB
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.
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.