In PSoC 6, clocks are routed separately from other digital signals. Clocks can be connected only to the clock inputs of components. If you want to connect a clock to the count input of a TCPWM, you should convert the clock into a signal, for example, using a T Flip-Flop, as shown in the following image:
That being said, there could be other, easier methods to achieve what you need without using such a circuit. Can you please give more information about the application ?
So the PSoC6 works like the PSoC4 in this regard, right? I need to look up the blog posts on its clocking system and refresh my memories.
My use case is build a reciprocal frequency counter, and the part I was working on was the reference count (which is clocked by a fixed frequency). Probably this can also be done by a PWM component, but I would need whether I can access the internal state when its stopped.