cancel
Showing results for 
Search instead for 
Did you mean: 

ADC and sampling option

SProg
Associate III
Posted on June 22, 2016 at 06:27

I want some advice on an programming issue.

Using: STM32F107

I am running an 10kHz interrupt from PWM channel.Interrupt lasts about 40usec and being contisiously.

I need to measure 4 sensors.3 of them are LTS-6NP which going to measure the current per phase on the VFD and one isolation amplifier which gonna focus the VDC.

I guess the best solution is using DMA which will fill my buffers with ADC values.But even DMA need IRQ to inform me that transfer is done.

How can i secure,that i will have my adc samples and compute some staff (like Irms) without losing my PWM's IRQ;
0 REPLIES 0