Skip navigation
2017
The XuLA2 standard runs on a 12 MHz clock. That's plenty for many things, but not enough for some designs. In my PWM with DeadBand  project, for instance, the effective signal frequency that the module outputs is halved for each bit of precision of the duty cycle register. If you want to have 256 steps between 0 and 100% duty cycle, you need 8-bit precision and your maximum PWM output frequency is 47 kHz. When you need higher PWM frequency with the same duty cycle granularity, you can ...
A PWM module for FPGAs that supports dead band. A VHDL project that generates two opposite PWM signals with a dead band. You can change the duty cycle with a rotary encoder. When you drive half-bridge designs, you need a control signal for both transistors in the circuit. These signals need to be each other's opposite, because you close one transistor when you drive the other. At the switching time, you introduce a tiny bit of dead time, to allow one transistor to properly shut before t ...
How to use a rotary encoder with the XuLA2 and the Spartan-6 FPGA. Another real world example: I'm checking if the Xess Rotary Encoder library works with the encoder I use in a GaN half-bridge design. TL;DR: yes it works Xess has a plug-in board with a rotary encoder. I'm not using that module (called a StickIt!) - but I'm using the sample project that comes with it.   StickIt!   Hat Shield Cape Wing. All names were taken except the coolest one. StickIt!s are tiny modules th ...

Filter Blog

By date: By tag: