cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

Anonymous
Not applicable

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!

   

 

   

Thanks

0 Likes
Reply
5 Replies
Esteemed Contributor II

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.

   

 

   

Bob

0 Likes
Reply
Anonymous
Not applicable

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!

   

 

   

Thank you!

0 Likes
Reply
Esteemed Contributor

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

   

http://video.cypress.com/video-library/search/psoc+4+low+power/

   

 

   

Regards, Dana.

0 Likes
Reply
Anonymous
Not applicable

Thanks Dana.... I've seen a few of these, but they will definitely be useful!

0 Likes
Reply
Anonymous
Not applicable

I tried using both PWM modules in my design, however, neither one would allow me to connect P4.1 as a PWM output.

0 Likes
Reply