CE216767 supports PDL 3.1.0 and PSoC Creator 4.2. From above description, it seems that PDL 3.1.0 fails at your end. Please use the latest PSoC Creator code example project from CE216767 and follow the guidelines in the code example document. We will be releasing the ModusToolbox version of CE216767 by end of Q419 tentatively.
Thank you, the example you linked to works fine with PSOC Creator and PDL 3.1.0.
I had fetched the example from within PSOC Creator (File->Code example) and that was a different project.
I am looking forward to getting the examples for Modus Toolbox