You must consider the timing characteristics of a DSTREAM unit if you design a target device or board and want to be able to connect DSTREAM at a particular TCK frequency. The characteristics relate to the DSTREAM hardware. You must consider them in parallel with the characteristics of your target.
The following figure shows the JTAG port timing and parameters:
In a JTAG device that fully complies to IEEE1149.1-2001, TDI and TMS are sampled on the rising edge of TCK, and TDO changes on the falling edge of TCK. To take advantage of these properties, DSTREAM samples TDO on the rising edge of TCK and changes its TDI and TMS signals on the falling edge of TCK. This means that with a fully compliant target, issues with minimum setup and hold times can always be resolved by decreasing the TCK frequency, because this increases the separation between signals changing and being sampled.
There are no separate timing requirements for adaptive clocking mode, because the minimum Tbsch and Tbscl times are identical and are the same as for non-adaptive clocking. Tbsis and Tbsih are relative to RTCK rising, and not TCK rising, as RTCK is used to sample TDO in adaptive clocking mode.
The only real timing difference is that in adaptive mode, DSTREAM samples TDO on the rising edge of RTCK and not TCK, so TDO timing is relative to RTCK.
The following table shows the timing requirements for the JTAG signals on the DSTREAM probe:
|50ns||500μs||TCK LOW period|
|50ns||500μs||TCK HIGH period|
|-||6.0ns||TDI and TMS valid from TCK (falling)|
|15.0ns||-||TDO setup to TCK (rising)|
|6.0ns||-||TDO hold from TCK (rising)|
The debug software enables you to change the TCK frequency. The TCK LOW:HIGH mark-space ratio is always 50:50. The other parameters must be considered with the specific values of Tbscl and Tbsch that you have chosen. The default values for an autoconfigured single-TAP system are, nominally, Tbscl=50ns and Tbsch=50ns.
Tbsod is the maximum delay between the falling edge of TCK and valid levels on the TDI and TMS DSTREAM output signals. The target samples these signals on the following rising edge of TCK and so the minimum setup time for the target, relative to the rising edge of TCK, is
Tbsis is the minimum setup time for the TDO input signal, relative to the rising edge of TCK when DSTREAM samples this signal. The target changes its TDO value on the previous falling edge of TCK and so the maximum time for the target TDO level to become valid, relative to the falling edge of TCK, is