I'm working with a new product, using the BLE CYBLE-022001-00, which I'm trying to simulate with the Pioneer kit boards, the black one with the CYBL10563-56 on it.
I have two pins assigned to PWM outputs, P4.0 and P4.1. However, I can't get these ports to work with the PWM.
Any ideas why not? I've tried several configurations, but no luck.
I then tool the BLE Lab 2 project, and changed the processor to work with the black board, with the CYBL10563-56 on it.
With that simple project, I can get P4.1 to work with the PWM output, but not P4.0.
For my product, I need both to work!
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-a... 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-c... AN61290 - PSoC® 3 and PSoC 5LP Hardware Design Considerations
http://www.cypress.com/documentation/application-notes/an86233-psoc-4-low-power-modes-and-power-redu... AN86233 - PSoC® 4 Low-Power Modes and Power Reduction Techniques
http://www.cypress.com/documentation/application-notes/an90114-psoc-4000-family-low-power-system-des... AN90114 - PSoC® 4000 Family Low-Power System Design Techniques
http://www.cypress.com/documentation/application-notes/an92584-designing-low-power-and-estimating-ba... 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... Enter Hibernate Mode and Wakeup Using PICU PSOC 3 / 5LP