cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

YoIs_1298666
Contributor II

Hello,

We know that PSoC4100S plus has 8 PWMs. we require them that set to swap compare buffers at TC in CY8C4146AZI-S443.

Please see the below schematics.

pastedImage_1.png

pastedImage_2.png

Unfortunately, we have an error like below.

   E1217: Failed to route all nets; unable to resove overuse

Are we limited by setting up to compare buffer swapping of 7PWMs ?

Best regards,

Yocchi

0 Likes
1 Solution
Alakananda_BG
Moderator
Moderator

Hi Yocchi-San,

We contacted our internal team and this is the limitation of the device.

Workaround is to use software switch in the ISR on the terminal count event.

PWM_1_TriggerCommand(PWM_1_MASK,PWM_1_CMD_CAPTURE);

Regards,

Alakananda



Alakananda

View solution in original post

0 Likes
7 Replies
Alakananda_BG
Moderator
Moderator

Hi Yocchi,

We were able to reproduce the bug you pointed out. We are filing a defect ticket on this bug internally. It will be fixed based on priority.

Thank you for your continued interest with Cypress products.

Regards,

Alakananda

Alakananda
0 Likes
YoIs_1298666
Contributor II

Hello Alakananda-san,

Thank you very much for your reply.

When will it  be fixed?

Best regards,

Yocchi

0 Likes
Alakananda_BG
Moderator
Moderator

Hi Yocchi-San,

We will let you know once the issue is fixed.

Regards,

Alakananda

Alakananda
0 Likes
Alakananda_BG
Moderator
Moderator

Hi Yocchi-San,

We contacted our internal team and this is the limitation of the device.

Workaround is to use software switch in the ISR on the terminal count event.

PWM_1_TriggerCommand(PWM_1_MASK,PWM_1_CMD_CAPTURE);

Regards,

Alakananda



Alakananda

View solution in original post

0 Likes
YoIs_1298666
Contributor II

Hello Alakananda-san,

OK.

If we use sottware switch in the ISR on terminal count event, we don't need to check in "switch" box.

Is this correct?

pastedImage_0.png

Best regards,

Yocchi

0 Likes
Alakananda_BG
Moderator
Moderator

Hi Yocchi-San,

If we use sottware switch in the ISR on terminal count event, we don't need to check in "switch" box.

Is this correct?

Yes we don't need to check in "switch" box.

Regards

Alakananda

Alakananda
0 Likes
YoIs_1298666
Contributor II

Hello Alakananda-san,

We don't need to check in "switch" box.

Unfortunately, if we swap between compare register and compare buffer register, we must check in "Compare" box.

pastedImage_1.png

Best regards,

Yocchi

0 Likes