This is an old revision of the document!
Click here to return to the Sources page
The Pulse Generator block generates pulse at different frequencies with a configurable duty cycle.
This block has checkbox to enabled or disabled the algorithm. Check the box to enable this algorithm. It has the text fields for frequency and duty cycle to generate the pulse at different frequencies with different “ON” and “OFF” time of the pulse.It has the radio button to round the coefficients.
Name | ADSP-214xx(Sample) | ADSP-214xx(Block) | ADSP-215xx/ADSP-SC5xx(Sample) | ADSP-215xx/ADSP-SC5xx(Block) |
---|---|---|---|---|
Pulse Generator | No | Yes | No | Yes |
Name | Type | Description |
---|---|---|
Output0 | Control | Output channel 0 |
GUI Parameter Name | Default Value | Range | Function Description |
---|---|---|---|
Frequency | 0.01 | 0.01 to 0.5* sample rate | Sets the frequency for pulse |
ON | True | True/False | Enable/Disable the algorithm for the channel. When the algorithm is disabled, the output pin will send out a constant value 0.0 |
DutyCycle | 2.08 | 0 to 100 | Controls the ON time and OFF time of the pulse |
RoundCoeff | false | True/False | Enable/Disable the frequency step rounding |
Parameter Name | Description | ADSP-214xx/SC5xx/215xx |
---|---|---|
Frequency | Step size for generating the pulse for specified frequency | Float |
DutyCycle | Controls the ON and OFF time of the pulse | Float |
ON | Enable/Disable the module | Float |
RoundCoeff | Roundoff the frequency coefficient | Float |
Where fs is frequency and FS is the sampling rate