The example projects for IAR IDE, the CSTACK and RSTACK values are configured to account for the requirements of the QTouch libraries and the included main.c file which illustrates the usage of the touch API.
Adjust the CSTACK and RSTACK values appropriately based on additional software integrated or added to the examples.