Altera_Forum
Honored Contributor
11 years agoAltera Max II unable to detect voltage levels correctly from a incoming signal
Hello everyone,
I'm new to this forum and would like to apologize if I'm posting a question that has already been asked by another person. I've been running into this problem during my development of an RFID system using 13.56 MHz using the Altera Max II. I'm using Verilog as the HDL to program the Altera Chip. I'm currently trying to read a sub-carrier signal at a rate of 847 KHz with using my altera Max II. When I use a 50 MHz clock signal to sample that input and then output it back out to the scope, I see a clear and exact replica of my input signal without a problem. The problem is when I try to perform some simple logics using the Posedge of the input signal, it does not seem to be detecting the input positive edge correctly. The input signal aren't continuous and only happens for able 1 millisecond. Below are a few things that I've tried: -Using the 50 MHz signal to sample the input and store that as a register, then using that register to trigger my code for the positive edge. The same problem was still occurring, which led me to think that the code was the issue. -I then used the same code but instead of inputting a the regular input, I generated the signal from a function generator with a similar Voltage levels and frequency as my input. But it is continuous instead of only for a short period of time. The result being that the code does trigger on that positive edge, which shows that there wasn't anything wrong with me reading in the input signal but instead something is screw up with the way I read in the input for the non-generated signal. I was wondering if anyone had encountered this issue. If there's a standardized way of denoting the I/O for the Altera Chip. I'm currently using LVTTL input because the voltage levels I'm currently looking at is 3.3 V. Please let me know if you want me to provide any more information. Thank You in advance everyone,