2021-06-09 10:47 PM
Hello Guys,
I'm developing some device that measure voltage.
My first selection was STM32CubeIDE cause it ws free. But if i try to print float in serial, it goes more than 32K
So i change IDE to IAR and now it can print float with half size program size,
But it can't read ADC correctly.
Below picture shows the Serial output, and IDE
both has same h/w , cube setting , same code..
I have no idea why both print diffrent value.
i attach my main, I hope you can help.
Regard
Jay,
2021-06-10 12:01 AM
What exactly is the difference? What is the signal source? How do you set up the ADC? Do you perform the ADC calibration before use?
Read out and check/compare the ADC registers settings.
JW
2021-06-10 02:01 AM
Are you trying to print floats? First thing that came into my mind: Eclipse Project > Properties > C/C++ Build > Settings > Tool Settings :
2021-06-13 07:43 PM
Hello , Sorry for my late reply.
To @DWeb_2
To @Community member