cancel
Showing results for 
Search instead for 
Did you mean: 

I2C DMA

rmccarthy
Associate
Posted on December 20, 2013 at 11:18

We have three devices that we would like to read on an ongoing basis in the main loop. We are using the STM32F407VG microcontroller. 

Two devices are on the same I2C bus using polling and one is ADC with data being transferred by DMA. By have two devices on the I2C bus it's taking up too much time in the main loop. Ideally these devices need to sample at a rate of a 1000 samples per second.

Is it possible to have all three transfer data by DMA and do you think it would make 

sense

?

Or would I2C with interrupt be the best solution for the devices on the I2C bus.

0 REPLIES 0