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?
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.
This FAQ was generated from the following discussion: How do I start a timer after power-on, or when the input signal goes away?
Top Comments
the PowerUpTimer doesn't need both of those DC blocks. Just connect the 48000 block to both inputs. DC sources aren't real constants, they waste processor cycles, so getting rid of as many as possible…
Hi Phillip,
You'll find the attachment in the original discussion, here: How do I start a timer after power-on, or when the input signal goes away?
The block combining the DC sources is a…