This is a duplicate question but more people frequent this forum than the capacitive touch one so here it is;
Essentially in the Atmel-42195-QTouch-Library-Peripheral-Touch-Controller_User-Guide at page 70 there is a section called 'Using Atmel ICE for QDebug Data Streaming from User Board' that give a pinout for the atmel ICE and target pins on the device and note that debug can be setup in qtouch composer. Which however does not support atmega328pb and you have to use the atmel START online tool to setup a QTouch project on the atmega328pb. The only option for debug in the atmel START tool is for UART and no mention is made for SPI / QDebug.
Has anyone successfully setup and used the atmel ICE for debuging QTouch on the atmega328pb for a custom board?