I know that the X2 range does not support parallel processing. Im wondering is there a way I can work around this for a particular situation.
What I want to do is set a timer and then count pulses in on a pin for a period. Once the number of pulses have been counted for that period I want to process that data, however I do not wish the processing of this data to interfere with the collection of new pulses ie. the counting of pulses should continue in the "background" while the processing of the sampled data occurs. Would it be possible perhaps to use an interrupt on the input pin which could achieve this? the interrupt could then increment a variable by 1 and reset to listen again in the "background"?
Would this approach even be possible?
What I want to do is set a timer and then count pulses in on a pin for a period. Once the number of pulses have been counted for that period I want to process that data, however I do not wish the processing of this data to interfere with the collection of new pulses ie. the counting of pulses should continue in the "background" while the processing of the sampled data occurs. Would it be possible perhaps to use an interrupt on the input pin which could achieve this? the interrupt could then increment a variable by 1 and reset to listen again in the "background"?
Would this approach even be possible?