ΣSigmaStudio Ask AI Русский Log in

How do I start a timer after power-on, or when the input signal goes away?

SigmaDSP & SigmaStudio ADIApproved Sep 6, 2011 00:00 3 replies Original on forum ↗
Subscribe
ADIApproved Question
Sep 6, 2011 00:00

How do I start a timer when the SigmaDSP powers on, and then output a GPIO flag when the timer is complete? This could be used, for example, in power sequencing for a system that requires staggered startup times between functional blocks.

Also, how would I start a timer when the audio input signal goes away, so that I could mute other parts of the system via GPIO after a set period of time?

flag

timer

gpio

self-boot

ADIApproved Reply
Sep 6, 2011 00:00

Both of these functions can be implemented using the Timer With External Reset cell in SigmaStudio.

How do I start a timer when the SigmaDSP powers on, and then output a GPIO flag when the timer is complete? This could be used, for example, in power sequencing for a system that requires staggered startup times between functional blocks.

Also, how would I start a timer when the audio input signal goes away, so that I could mute other parts of the system via GPIO after a set period of time?

The project file is attached as a guide.

62f8d791d57a6a55039e275a21f0e291.jpg
62f8d791d57a6a55039e275a21f0e291.jpg
62f8d791d57a6a55039e275a21f0e291.jpg-450x170.jpg
62f8d791d57a6a55039e275a21f0e291.jpg-450x170.jpg
f885ace44e071e658b14dcb31fd832c5.jpg
f885ace44e071e658b14dcb31fd832c5.jpg
f885ace44e071e658b14dcb31fd832c5.jpg-450x225.jpg
f885ace44e071e658b14dcb31fd832c5.jpg-450x225.jpg
J3627 Reply
Jun 5, 2013 00:00

Or save a bit by combining the delay with the trigger, since trigger just has to be non-zero:

8501ef7d96e3a064ffefb1c6bcb17f57.png
8501ef7d96e3a064ffefb1c6bcb17f57.png
8501ef7d96e3a064ffefb1c6bcb17f57.png-188x113.png
8501ef7d96e3a064ffefb1c6bcb17f57.png-188x113.png
EZAdministrator Reply
Apr 29, 2019 00:00

This question has been closed by the EZ team and is assumed answered.