2015-08-12 10:30 AM
I use CubeMX to generate code.
How can ADC Sampling Time?CubeMX does not give option for that and always generate:SamplingTime = ADC_SAMPLETIME_3CYCLES;My problem is if I changed it manually (to for example 28 cycles) and few month later changed something else via CubMx,I will totally forget about it2015-08-12 12:28 PM
CubeMX is designed to output a rough framing of your project, once, and then you fill in the details and specifics, not that you hit the button over and over as you change the design and your mind.
If you have to keep modifying it at the CubeMX level have it build it into a new project/directory, and merge back your specifics.2015-08-12 06:45 PM
In the Parameter Settings menu, expand the rank for each channel by clicking the ''+'' button. Then set the desired sample time.
Regards, Hal2015-08-13 12:56 AM