AnsweredAssumed Answered


Question asked by sheehy.rosemarie on Dec 20, 2013
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.