Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

JTAG 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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