Contact
QR code for the current URL

Story Box-ID: 431239

iSYSTEM AG Carl-Zeiss-Str. 1 85247 Schwabhausen, Germany http://www.isystem.com
Contact Mr Erol Simsek +49 8138 697156
Company logo of iSYSTEM AG
iSYSTEM AG

How to avoid High Frequency Effects on Debug Interfaces?

iSYSTEM PCB Design Guidelines to improve Trace Quality

(PresseBox) (Munich, )
Today iSYSTEM AG presented the new "Trace Port PCB Design Guidelines" document that discusses design considerations for Printed Circuit Boards (PCBs) to prevent high frequency effects. iSYSTEM's 25 years of experience in development and production of debug tools are shared in this document. High frequency effects on debug trace ports can prevent a tool from capturing the trace stream correctly.

As a manufacturer of on-chip debuggers (OCDs) and analyzers iSYSTEM has profound know-how on debug interfaces, e.g. NEXUS, ETM, etc. These interfaces are usually called trace ports. Increasing requirements on microcontrollers for higher integration and faster clock rates at less power consumption pose huge challenges on semiconductor as well as tool vendors to guarantee high bandwidths on trace ports. The more a microcontroller is integrated and clocked, the easier the (on-chip trace) signals are distorted. Already at the design a customer can look ahead and enhance the quality of measurement results by deployment of design guidelines.

On-chip debug functionality on most of today's controllers is realized by compressing the CPU activity on-chip and delivering over a trace port to an external tool (e.g. OCD). The tool records the data, analyzes them and displays this information. Physically a trace port consists of data lines and clock line which is used to capture the data in a moment, when it is valid and stable.

The data can be captured on rising edge of the clock ("Full Rate") or on both clock edges ("Half Rate"). At lower frequencies and good signal integrity we can consider the clock and data lines as pure digital signals, which are correctly phase aligned. The OCD can capture the data accurately in this scenario.

Beside figures show the data and clock signals measured with an oscilloscope.

The data signal is shown in blue, the clock signal is yellow. The different blue lines show one signal at different time periods - the oscilloscope ran in "persistence" mode, so the curves drawn on the oscilloscope's screen are accumulated.

The dark area within the signal is called the data eye - sampling within this region yields a reliable trace recording (Figure 1: pink squares).

However when the frequency rises, the capturing of data becomes challenging due to increased signal integrity issues (noise, skew, crosstalk, reflections, ground bounce...). As shown in Figure 2 with higher frequencies the data eye shrinks (pink circle) and the clock signal has to get shifted (pink arrows).

PCB design flaws like long or different long trace lines, stubs on trace lines, CPU sockets, etc. can distort trace signals up to a point where no correct sampling is possible.

Recommendations

To avoid signal distortion and to retrieve a high quality trace already the PCB designer should consider several aspects.

- The CPU should be soldered on the PCB. Any socket can reduce signal integrity dramatically.
- All trace port lines on the PCB should be as short as possible (max ~2,5 cm),
- Trace lines should run on the same layer or on layers with the same impedance.
- Preferred layer impedance is 50 Ohm.
- Mictor ground pins should be connected directly to PCB's GND plane.
- Trace clock should be serially terminated by 47 Ohm resistor as close as possible to the driver. The value of the resistor may be changed depending on driver characteristics.
- Trace clock should be clean of crosstalk - if possible with double distance to closest nets.
- Trace clock should have only point-to-point connection - any stubs should be avoided.
- It is strongly recommended also for other (data) lines to be point-to-point only. If any stubs are needed, they should be as short as possible. If longer are required, there should be a possibility to optionally disconnect them (e.g. by jumpers).
- Trace port data bus inner crosstalk is not so important, but it is critical to isolate the whole bus from other signals (including from the trace port clock).

More Information

1) Trace Port PCB Design Guidelines In this document you find more examples and details on high frequency effects.
2) How does Autocalibration work?
3) Background information on the "Possibilities and Limits of Software Debugging Techniques Depending on the Microcontroller/Microprocessor"
4) http://en.wikipedia.org/...

iSYSTEM AG

iSYSTEM manufactures specialized tools for embedded software development and test, supports customers with their embedded projects and provides professional support. Our vision is to easily enable developers and testers to use embedded development and test tools within the complete development process.

iSYSTEM products are best suited for development and test of security-sensitive applications. Commonly used are these tools in the automotive, avionic and medical areas. To achieve an optimal integration of development tools, iSYSTEM maintains close relationships with semiconductor, compiler, RTOS and test tool vendors.

The majority of iSYSTEM products present a link between the embedded system and the host PC. Dependent on the CPU architecture an in-circuit emulator, an on-chip debugger, an on-chip debugger plus trace tool or an external bus analyzer can be used. The modular design allows the subsequent use of iSYSTEM products in other configurations. iSYSTEM tools support more than 50 different CPU architectures, 2500 microcontrollers and 150 compilers.

The publisher indicated in each case (see company info by clicking on image/title or company info in the right-hand column) is solely responsible for the stories above, the event or job offer shown and for the image and audio material displayed. As a rule, the publisher is also the author of the texts and the attached image, audio and information material. The use of information published here is generally free of charge for personal information and editorial processing. Please clarify any copyright issues with the stated publisher before further use. In case of publication, please send a specimen copy to service@pressebox.de.
Important note:

Systematic data storage as well as the use of even parts of this database are only permitted with the written consent of unn | UNITED NEWS NETWORK GmbH.

unn | UNITED NEWS NETWORK GmbH 2002–2024, All rights reserved

The publisher indicated in each case (see company info by clicking on image/title or company info in the right-hand column) is solely responsible for the stories above, the event or job offer shown and for the image and audio material displayed. As a rule, the publisher is also the author of the texts and the attached image, audio and information material. The use of information published here is generally free of charge for personal information and editorial processing. Please clarify any copyright issues with the stated publisher before further use. In case of publication, please send a specimen copy to service@pressebox.de.