Is it possible that 8PWMs set to swap compare buffers in CY8C4146AZI-S443?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
YoIs_1298666
Level 5
Level 5
250 sign-ins 100 replies posted 100 sign-ins

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

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
Moderator
50 likes received 250 sign-ins 250 replies posted

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

Hello Alakananda-san,

Thank you very much for your reply.

When will it  be fixed?

Best regards,

Yocchi

0 Likes

Hi Yocchi-San,

We will let you know once the issue is fixed.

Regards,

Alakananda

Alakananda
0 Likes

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
0 Likes

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

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

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