2019-06-30 07:11 PM
Hi,
I am using STM32F303RE in my application, and I am using CubeMx LL lib to config my STM32,
I configured ADC123 in injection mode, all those 3 ADCs are: the rank1 is 1.65V, the rank2 is near 0V, and I checked with my multimeter the voltage are all correct (3ch 1.65V, 3ch 0V).
My quesetion is :
All the ADCs rank1 are near 2048, but all the rank2 are near 4095 (actually should be near 0),
then I configed all the ADCs working only in one injection channel, and configed all ADCs channls which are linked to RANK2, to rank1, then all the results from ADCs are all near 0, it's correct.
So I am confused about Injection mode and continuely convert 2 ranks, the 2nd rank always near 4095. Who can help this case? By the way I am using this chip in motor control application, and I am using this chip about 4 years.
STM32 ADC injection mode , 2nd channel always near 4095,
2019-07-01 02:26 AM
I am using Standard lib now, it works well.