PWM Generator Using DAC and ACMP

PWM Generator Using DAC and ACMP

Pulse-based Control Application

PWM generators can be used to control devices such as dc motors and LEDs。该实现使用ACMP与DAC0的信号进行比较的模拟信号。CNT3用于生成DAC的值。

Ingredients

  • Greenpak与DAC.
  • 不需要其他组件

GreenPak图

Design Steps

  1. Connect ACMPOPWR UP输入到por。放在-sourceext。VREF(DAC0 OUT)
  2. 放DAC0 power on signal to打开并输入选择来自DCMP1的输入
  3. Configure FSM-compatible CNT/DLY toCounter/FSMmode with counter data = 255.
  4. 将RC OSC电源模式设置为力量开启

资源

GreenPAK Designer files