There are two different PWM implementations, an UDB implementation and the configurable Timer Counter PWM (TCPWM) component which easily routes to P4 pin 0 and 1. Port 4 has limited routing capabilities, so when using the UDB version for the PWM you will not be successful with routing to port4.
Thanks for the input Bob. I appreciate that.
I originally started with the TCPWM, but no PWM signals were being output to the pins. I've since learned that was a problem with the BLE implementation I was using, placing the part in deep sleep. Through the process, I tried the other PWM implentation.
I will re-try the TCPWM and let you know how that worked!
Some ref material that may be of help -
http://www.cypress.com/?rID=110007 AN92584 - Designing for Low Power and Estimating Battery Life for BLE Applications
These are not all PSOC 4 specific, but many of the principles apply -
http://www.cypress.com/documentation/application-notes/an77900-psoc-3-and-psoc-5lp-low-power-modes-and-power-reduction AN77900 - PSoC® 3 and PSoC 5LP Low-power Modes and Power Reduction Techniques
http://www.cypress.com/documentation/application-notes/an61290-psoc-3-and-psoc-5lp-hardware-design-considerations AN61290 - PSoC® 3 and PSoC 5LP Hardware Design Considerations
http://www.cypress.com/documentation/application-notes/an86233-psoc-4-low-power-modes-and-power-reduction-techniques AN86233 - PSoC® 4 Low-Power Modes and Power Reduction Techniques
http://www.cypress.com/documentation/application-notes/an90114-psoc-4000-family-low-power-system-design-techniques AN90114 - PSoC® 4000 Family Low-Power System Design Techniques
http://www.cypress.com/documentation/application-notes/an92584-designing-low-power-and-estimating-battery-life-ble AN92584 - Designing for Low Power and Estimating Battery Life for BLE Applications
http://www.element14.com/community/docs/DOC-62329/l/cypress-ep56137--software-code-example-for-enter-hibernate-mode-and-wakeup-using-picu-psoc-creator-beta5-v10 Enter Hibernate Mode and Wakeup Using PICU PSOC 3 / 5LP
I tried using both PWM modules in my design, however, neither one would allow me to connect P4.1 as a PWM output.
Thanks Dana.... I've seen a few of these, but they will definitely be useful!