I have an application where I need to grab three A2D channels simultaneously driven by an external clock. The basic application is to read two sensors with the conversion clock being supplied by an encoder. Some assembly moves, which drives the encoder, and at each encoder tick three A2D channels are read simultaneously. (Two sensor and the index channel of the encoder.) I noticed that the STM32F part used for the Cerbuino type boards has the ability to drive the A2D via an external clock source, I have not looked at the datasheet for the NXP processor that the G120 uses yet to see it it has the same capability or not.
My question is has anyone else played with using an external clock with A2D on these boards? I don’t want to reinvent the wheel and start from scratch. If not I’ll delve into it and be glad to share what I learn about doing so.