Dear forum,
I'm building a power supply and I wonder how stable are DAC and ADC (the one that is 16 sigma-delta) on stm32f373. Do they drift much with age and temperature?
Another question: if I use a separate supply for Vref, how can I ensure it never exceeds Vcc+0.4V (esp. on startup)? I could put a a diode, but it may have a bigger drop.
UP on the second thought, a small-signal Schottky may do the job, but still ideas on proper power sequencing are welcome. May be I need a power supervisor or something that will only enable Vref after Vdd is up. Or, may be I can use MCU to enable Vref only after it boots and after some delay...
The ADCs and DACs do not age/drift much. Vrefs do.
In case your external Vref will be lower than Vcc (ie 2.5V) I would not care much about startup conditions.
The tempco of the internal Vref is 100ppm/C (read the datasheet).
Also mind the ext Vref+/- pins might be available with large packages only.
Otherwise the performance of the MCU's internal ADCs and DACs is inferior to the discrete ones..
PS: the temperature of the stm32's die depends on its activity. It could vary +/-xxC based on which part of your code runs at the moment..
Thank you very much.
To my surprise, SDADC has temperature drifts specified in the datasheet. I'd say drifts are quite noticeable, especially in single-ended mode.
If the temp drift is specified in the datasheet then you should be able to use the on chip temp sensor to compensate for this.
If the temp drift is specified in the datasheet then you should be able to use the on chip temp sensor to compensate for this.
The datasheet tells only typical/maximum drift, so I don't think it can be compensated without manual characterization.
I use the STM32F373 in my projects for a few years and the SDADC is excellent so is the internal reference so I will not bother with an external one. I have no experience with the DAC but I suspect that should be good also it is just lower resolution.
My projects are all open source so if you need some inspiration check my latest
Kickstarter page as there is where you will find user manual for all projects and all of them have the links for SW and HW files on the last page of the manual.