Altera_Forum
Honored Contributor
8 years agoSet GPIO pins with multiple voltage levels
Hello,
I am using a DE0-Nano FPGA and Quartus II 14.0. I am able to set the voltage of GPIO pins to either a high or low value based on a binary string of 0s and 1s. However, I would like to set 3 different voltage levels. How do I go about doing this? And since I can't use a binary string for 3 different values, how do I store the voltage sequence I wish to transmit? I was considering using a mixer to mix 2 different signals and output 3 different voltage values: e.g. 0,0 -> 0 1,0 and 0,1 -> 1 1,1 -> 2 However the web version of Quartus I have does not have such a mixer function. If this is a good way of approaching the problem where can I get a mixer module?