Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Connecting emitter follower output to CPLD input

Status
Not open for further replies.

sgergo

Junior Member level 1
Joined
Mar 23, 2010
Messages
17
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,432
Hi!

We have an analog oscillator with an emitter follower output, outputting 0...5V square wave with the frequency of 5 MHz. We wanted to measure the frequency change with 1Hz< sample rate so we have implemented a MachXO based reciprocal frequency counter in Verilog. We tested the frequency counter with a 6MHz TCXO and it was working great. However, when we connected our analog oscillator to the CPLD's signal input pin we experienced +/-100 Hz jitter in the measured frequency and additional 100Hz< spikes. We checked our analog oscillator with our frequency counter instrument which showed a stable output with no such jitter. We also checked it with an oscilloscope.

We suspected that the interfacing would be the problem, so we placed a 74HC132 quad NAND gate with Schmitt trigger input between the analog output and the CPLD pin. Now our readings were correct.

In the meantime another design flaw emerged as the CPLD pins maximum input voltage shouldn't be above 4.75V and we are feeding 5V into the inputs.

So the question is: how can we interface this 5V/5 MHz signal to the CPLDs CMOS input? Is there a logic chip (inverter, etc.) which can input 5V but outputs 3.3V?

Thank you in advance.

(attached a drawing for better explanation)
 

Attachments

  • Osc-CPLD-connection.pdf
    56.9 KB · Views: 105

In the meantime another design flaw emerged as the CPLD pins maximum input voltage shouldn't be above 4.75V and we are feeding 5V into the inputs.
I read an absolute maximum input voltage of only 3.75 V and a maximum operating input voltage of 3.6 V in the MachXO datasheet.

A voltage divider would be a simple way to reduce the input voltage, but there also 3.3V logic gates with 5V input voltage range, e.g. 74LVC series.

The observed wrong readings may be also caused or promoted by missing synchronization of the input signal in your frequency counter design.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top