Forum Discussion
Altera_Forum
Honored Contributor
14 years agoJTAG interface
Hello,
I would like to interface Cyclone IV JTAG interface via both ways : 1. JTAG USB blaster. 2. FTDI FT2232 MPSSE interface. I am using VCCIO 3.3V in Jtag bank and in figure 8-23 in cyclone IV handbook its says to connect JTAG voltages TDIpullup,TMSpullup and PIN4 JTAG connector to VCCA = 2.5v. It says that--- ""All I/O inputs must maintain a maximum AC voltage of 4.1 V because JTAG pins do not have the internal PCI clamping diodes to prevent voltage overshoot when using VCCIO of 2.5, 3.0, and 3.3 . You must power up the VCC of the download cable with a 2.5-V supply from VCCA" My problem is when interfacing Cyclone via FT2232. ft2232 has 3.3v I/Os. Will it be safe???15 Replies
- Altera_Forum
Honored Contributor
--- Quote Start --- One last question, what is the maximum frequency signal that you can pass through the TinyLogic buffers? Because I intend on passing through a signal that operates at about 25MHz. --- Quote End --- I've used them at 125MHz, so 25MHz is fine. Cheers, Dave - Altera_Forum
Honored Contributor
Hello Dave,
I think I may try the TinyLogic buffers, because I could place them where ever I need them. Which would allow me to reduce unused space on my board as this is the number 1 priority in my design. I get my pcbs assembled in china and they order in from many places so regional availability is not a problem. One last question, what is the maximum frequency signal that you can pass through the TinyLogic buffers? Because I intend on passing through a signal that operates at about 25MHz. Regards, Michael - Altera_Forum
Honored Contributor
--- Quote Start --- Upon reading your comment, I believe that I will be using instead the SN74LVC244A OCTAL BUFFER/DRIVER WITH 3-STATE OUTPUTS, and have it always enabled with a weak pull up or pull down resistor to set the value. Will this change enable me to drive the JTAG lines correctly? --- Quote End --- This part will be fine. I'm not sure where you are located, but if you can buy components in the US, the pricing on Mouser for the SN74LVC244A is $0.55 each http://www.mouser.com/productdetail/texas-instruments/sn74lvc244ansr/?qs=sgaepimzzmuiiwkaiwck2vxqsqozkdecnc%252bi5rnfnoq%3d whereas the TinyLogic device 512-NC7WZ16P6X is $0.14 http://www.mouser.com/productdetail/fairchild-semiconductor/nc7wz16p6x/?qs=sgaepimzzmuiiwkaiwck2y9zx6ozihaoqc8dih16pqg%3d I find PCB layout much cleaner using smaller buffers, since you can place them where you need them (and have nice traces). The 'classic' 244 buffers may be easier to source in other areas of the world though. I just wanted to point out that the smaller parts are not pricey. Cheers, Dave - Altera_Forum
Honored Contributor
Hey Frank,
--- Quote Start --- It's unable to drive the JTAG signals without adding strong (e.g. 470 ohm) pull-up resistors. Not a good idea at all. --- Quote End --- Good point. Thanks for correcting me. Cheers, Dave - Altera_Forum
Honored Contributor
--- Quote Start --- For the resistor I may use a 22ohm resistor, as I have one already in my design, but what would be the effect on the TCK line, if the resistance is not right, because I dont want to have to rework the PCB once it is made. I will only be using the one FPGA device in my design. --- Quote End --- 22-Ohms will be fine. The key thing is that you have a resistor footprint on the PCB. That way if you do see ringing on the TCK line, you can adjust its value without a re-spin of the PCB. Cheers, Dave - Altera_Forum
Honored Contributor
Hello FvM,
Upon reading your comment, I believe that I will be using instead the SN74LVC244A OCTAL BUFFER/DRIVER WITH 3-STATE OUTPUTS, and have it always enabled with a weak pull up or pull down resistor to set the value. Will this change enable me to drive the JTAG lines correctly? Regards, Michael - Altera_Forum
Honored Contributor
--- Quote Start --- Is there anything wrong with me using the open drain buffer? --- Quote End --- It's unable to drive the JTAG signals without adding strong (e.g. 470 ohm) pull-up resistors. Not a good idea at all. - Altera_Forum
Honored Contributor
Hello Dave,
--- Quote Start --- What is the price, and layout difference between this and a couple of TinyLogic devices? (Which have input voltage tolerance of up to 7V) --- Quote End --- The package that I am using for my design is a 2.5x3mm QFN package, and costs about 0.89USD per component, as I am only going to make a few of them bulk price is not an option. The input tolerance is 5.5V, but the datasheet states 6.5V maximum limiting value, so it should be ok. --- Quote Start --- Now add a 30-ohm series resistor to your TCK output. This is a source termination that you can adjust to eliminate any ringing on the clock signal. I assume that TCK and TMS are only going to a single FPGA load? If they are not, then you can put dual-source terminations on the buffer outputs and drive them to two loads. --- Quote End --- For the resistor I may use a 22ohm resistor, as I have one already in my design, but what would be the effect on the TCK line, if the resistance is not right, because I dont want to have to rework the PCB once it is made. I will only be using the one FPGA device in my design. Regards, Michael - Altera_Forum
Honored Contributor
--- Quote Start --- I have altered my design to use a 74LVC07A, as in the jpeg. Is there anything wrong with me using the open drain buffer? --- Quote End --- No there is nothing wrong with using the open-drain buffer. What is the price, and layout difference between this and a couple of TinyLogic devices? (Which have input voltage tolerance of up to 7V) http://www.fairchildsemi.com/ds/nc/nc7wz16.pdf --- Quote Start --- The schematic is a bit messy, but I have linked the TDO output through the hex buffer. --- Quote End --- That's good. Now add a 30-ohm series resistor to your TCK output. This is a source termination that you can adjust to eliminate any ringing on the clock signal. I assume that TCK and TMS are only going to a single FPGA load? If they are not, then you can put dual-source terminations on the buffer outputs and drive them to two loads. Look at this schematic for even crazier examples ... http://www.ovro.caltech.edu/~dwh/carma_board/gda06rb004_carma_v0.87_dec03.pdf (http://www.ovro.caltech.edu/%7edwh/carma_board/gda06rb004_carma_v0.87_dec03.pdf) Cheers, Dave - Altera_Forum
Honored Contributor