We're working on a project in which we've connected an image sensor to the STM32 DCMI.
I'm now planning the next project, in which I want to connect two sensors, where only one should be active an any given moment, but the switch between them must be fast (~100ms time to image).
My thought was to connect the sensors to two different sets of pins that can function as DCMI, and changing the pins configuration from GPIOs to DCMI and vice-versa according to need. This will save the need for muxs/switches, and I can have both sensors powered at the same time.
Does this sound reasonable? would the DCMI require a restart, or the entire MCU?