The IPC-PWM-APB is an AMBA APB core that can be used for motor control, signal modulation, tone generation and any control requiring a variable duty cycle and variable frequency signal.
The IPC-PWM-APB generates a variable duty cycle output signal under program con-trol. The period of the output signal is determined by using a direct counter method or prescaled counter method. The prescale values are PCLK / 256 and PCLK / 4096.
The IPC-PWM-APB duty cycle is determined by accumulating the counter values com-pared with the value programmed in the dutyCycle register. For example, when the 8-bit counter value reaches the value programmed into the dutyCycle register, the pulseOut signal goes low. When the counter has reached its maximum value and rolls back over to zero, the pulseOut signal goes high.
- ƒ 256 and 4096 prescale
- ƒ Programmable duty cycle
- ƒ AMBA APB interface
- The IPC-PWM-APB package includes fully tested and verified Verilog source. The IPC-PWM-APB can also be delivered as an FPGA Netlist for Xilinx, Altera and Actel FPGAs.