11.07.2015 Views

Atmel QTouch Library User Guide

Atmel QTouch Library User Guide

Atmel QTouch Library User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Debug Support in Example applicationsThe EVK2080 and QT600 applications provide output debug information on standard GPIO pinsthrough the USB Bridge IC to PC software for display by AVR <strong>QTouch</strong> Studio. Similarly forATMEL devices that are not supported through EVK or QT600 kits, the output measurementvalues can be viewed through AVR <strong>QTouch</strong> Studio using the same QDebug protocol and QT600USB bridge.If a QT600 bridge is not available, please refer to section 5.6.11.6.3 for more information onobserving the output touch measurement data without the use of a USB bridge or AVR <strong>QTouch</strong>Studio.Debug Support in the sample applications for EVK2080 and QT600 boardsThe sample applications provided for the EVK2080 boards, QT600 boards and the other exampleprojects output debug information which is captured by a USB bridge chip and then routed to the<strong>QTouch</strong> Studio for display.Note:The port and pins assigned for the QDebug protocol with the example projects are arbitrary andhave to be changed based on the project configuration chosen and pin availability.A separate App note is available on the <strong>Atmel</strong> website (in <strong>QTouch</strong> libraries webpage) explainingthe QT600 debug protocol.How to turn on the debug optionIn the project options, the symbol definition _DEBUG_INTERFACE_ is used to enable reportingthe debug data. Based on the IDE used, you can do the following to enable the debug feature• IAR-EWAVR:In the project options -> C/C++ compiler -> Preprocessor TabAdd the Directive _DEBUG_INTERFACE_Figure 5-23 : Enabling Debug Support for the library in IAR IDE788207K-AT42-09/11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!