A basic PWM controller. ui[5:0] control the reference. When ui[6] is low, this reference is used to set the PWM duty cycle. when ui[6] is high, functionality changes from manual reference to a triangular reference generated internally. In this mode, ui[5:0] control the frequency of the triangular reference. ui[7] enables pwm output when high. PWM is output on uo[7].
Set ui[7] to high. Measure the output on uo[7]. FLip the other input switches and see what happens!
None, but an LED and resistor would be nice.
# | Input | Output | Bidirectional |
---|---|---|---|
0 | Manual mode PWM reference control | PWM output | |
1 | Manual mode PWM reference control | ||
2 | Manual mode PWM reference control | ||
3 | Manual mode PWM reference control | ||
4 | Manual mode PWM reference control | ||
5 | Manual mode PWM reference control | ||
6 | Toggle PWM breathe or manual mode | ||
7 | Enable PWM output |