cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

Contributor

I am making a program using PSoC 4 BLE software that connects to the CySmart App. I want to control two different LEDs (red and green) using PWMs so that one LED would blink at the speed of one second, and another would blink at 2 seconds. I have tried doing this, but this error occurs: Pin guidance unavailable: Resource limit: Maximum number of Datapath Cells exceeded (max=4, needed=6).

Does anyone know how to fix or get around this problem?

Thanks,

Andrew Collins

0 Likes
Reply
1 Solution
Employee

Hi Andrew

Per the log, seems you are using the UDB based PWM which cost the UDB resource and the UDB resource is limited.

Please change the UDB based PWM to the TCPWM: PWM(TCPWM mode). PSoC 4 BLE have 4 TCPWM resource.

Regards

Jenson

View solution in original post

0 Likes
Reply
2 Replies
Esteemed Contributor II

Can you please post your complete project or a shortened version that shows the error so that we all can have a look at all of your settings. To do so, use

Creator->File->Create Workspace Bundle (minimal)

and attach the resulting file.

Bob

0 Likes
Reply
Employee

Hi Andrew

Per the log, seems you are using the UDB based PWM which cost the UDB resource and the UDB resource is limited.

Please change the UDB based PWM to the TCPWM: PWM(TCPWM mode). PSoC 4 BLE have 4 TCPWM resource.

Regards

Jenson

View solution in original post

0 Likes
Reply