|
|
This output is a
PWM (pulse width modulated) signal with a configured duty cycle and variable
frequency controlled by the design logic.
The PWM frequency
is variable from 50% to 200% of a configured base frequency. The “percentage” value is provided by the
design logic. The PWM frequency at the
output pin is equal to the BaseFrequency*PercentageValue/100. (Example: BaseFrequency
= 1000Hz, PercentageValue = 150, PWM frequency = 1500
Hz)
This output is a
high side switch, which depending on the configuration, can source Vdd and from 5A.
Hardware
Interface: The PSoC pin drives the
output directly or through a high voltage and current rated MOSFET. An optional
diode protects the MOSFET when used with inductive loads.
Software
Interface: the PWM frequency
is controlled with an 8-bit unsigned value between 50 and 200. This value is the percentage of the
configured base frequency that will yield the desired PWM output frequency. (Example: 50 results in a generated PWM frequency
of 0.50*BaseFrequency, 200 results in a generated PWM
frequency of 2.0*BaseFrequency)
User-Configurable properties.
· DutyCycle: the duty cycle value determines the portion of the
signal period that the output is high.
The duty cycle is expressed as a percentage – from 0 to 100%. (Example: 45% is 45)
· BaseFrequency: this is the output frequency of the PWM when the
associated percentage value is equal to 100.
The output frequency of the PWM is calculated using this property and
the percentage value determined by the driver transfer function.
Non-Configurable properties.
· VA Mode: Vdd 5A High Side
· Polarity: Negative
· Voltage: Vdd (max)
·
Current: 5A (max)