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

Output pulse with count parameter through a MP line in StudioSigma v4.6 for ADAU1452

SigmaDSP & SigmaStudio ping95014 Nov 4, 2021 00:00 1 replies Original on forum ↗
Subscribe
ping95014 Question
Nov 4, 2021 00:00

Hi Support,

We are using ADAU1452 and SigmaStudio v4.6.

Which algorithms are needed in order to create a design that can output pulses with count as a parameter? Can the pulse type be defined?

regards,

ping

Audio Signal Processors

adau1452

sigmastudio

SigmaDSP Audio Processors

DaveThib Reply
Nov 5, 2021 00:00

Hello Ping,

We need a little more information.

First, the MP input will be a 0 or a 1. So no way to input a larger number unless you implement a binary number using many MP pins.

There are probably many ways to do this but we just need a little more detail.

How long is this pulse? The DSP can only output based on sample periods. So it can send out a high for one sample period then a low for the next. So it would be a one sample period long pulse that can only be as fast as fs/2.

Do you need a 50/50 duty cycle or does it need to be high for X sample periods then low for X sample periods? Then repeat this for the number if times given in a "count" parameter?

Then it stops until there is some sort of reset? Where is the reset coming from?

Dave T