2021-10-18 03:14 AM
in regular mode,ADC with DMA would be faster than injected mode,isn't it right?
Solved! Go to Solution.
2021-11-12 09:50 AM
Hello @Lzhiy.1,
I do not know which series you are talking about, but faster to do what ?
Injected mode allows us to store one value per conversion in a dedicated register, and if a regular conversion is ongoing, it will be interrupted to execute the injected conversion.
DMA is required with regular to copy the data from the ADC register to the SRAM, but with injected, we even do not have to copy it. We can directly access to the register.
So, definitely, to read the current, the safer is to use the injected conversion.
Regards
Cedric
2021-11-12 09:50 AM
Hello @Lzhiy.1,
I do not know which series you are talking about, but faster to do what ?
Injected mode allows us to store one value per conversion in a dedicated register, and if a regular conversion is ongoing, it will be interrupted to execute the injected conversion.
DMA is required with regular to copy the data from the ADC register to the SRAM, but with injected, we even do not have to copy it. We can directly access to the register.
So, definitely, to read the current, the safer is to use the injected conversion.
Regards
Cedric