I have a need to do some logic processing at 200Khz. I would like to accomplish this on Atmega328 (Nano) as a proof of concept and then move to a smaller chip like Attiny1614 or something similar later on.
The main program starts a timer that periodically interrupts the processor at 200Khz approximately. Thereafter, the main program just kills time in an infinite loop.
The timer ISR is triggered once every 200Khz, it reads 3 digital inputs, performs some logic operation and outputs on 2 outputs. Nothing complicated in the logic operation.
Can the processor handle interrupts at 200Khz? Can it be accomplished using 16Mhz Atmega328?
Thanks and Regards, WonderfulIOT