Other Parts Discussed in Thread: EK-TM4C1294XL
Hello, I have a newbie question.
.
I'm building a front-end circuit for a particle detector with a lot of channels (256). So I decide to group 32 channels for readout by one ADC, using the analog multiplexer ADG732. For ADC and PC interface, I decide to use the board EK-TM4C1294XL.
In terms of timing, each 1us, the ADG732 should switch the output according to the 5 logic control inputs A0-A4. So basically, from the MCU side, I should program a 5-bit binary counter, output its value on some pins and connect the pins to A0-A4 on ADG732. The problem is I don't know how to properly do this yet. It seems to me that a (software) loop, with 1-increment and wait, will not guarantee the timing condition.
Any suggestion?
Many thanks!