Long delay using the built-in counters
Is it possible to configure a cog to provide a long delay (longer than 54 seconds) using the cot's counters?
What I had in mind was routing the output of counter A· (in NCO/PWM single ended mode) into counter B as counter B's clock (instead of counter b being clocked by the system clock).
I don't want to dedicate an entire cog to the job if the counters can perform the job ( and more accurately than using SPIN.)
Thanks,
Don
What I had in mind was routing the output of counter A· (in NCO/PWM single ended mode) into counter B as counter B's clock (instead of counter b being clocked by the system clock).
I don't want to dedicate an entire cog to the job if the counters can perform the job ( and more accurately than using SPIN.)
Thanks,
Don
Comments
-Phil
Thinking about it now, I can retreive and set the output bit inside the cog's spin looping code.
This would give me a long delay without much overhead.
Thanks,
Don