FX3 PWM duty update issue

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

cross mob
dawa_2529456
Level 4
Level 4
5 sign-ins 5 solutions authored First solution authored

Dear Sir,

I want to output a pwm duty from 1% ~ 99%, but it seems the pwm duty is not predicted, which is also be found in the following!

https://community.cypress.com/thread/17950?q=FX3%20PWM%20duty

I think it may be SDK API bug. when CyU3PGpioComplexUpdate () is called, the timer shall be stopped and cleared ,and then start again according to the new count, just like restart init procedure.

  apiRetStatus = CyU3PGpioComplexUpdate (LED_PWM_PIN, count, CY_FX_PWM_PERIOD);

Can Cypress FAE confirm this issue?

Best,

0 Likes
1 Solution
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

Hello,

Please refer to this thread Re: FX3 generate varying duty PWM of 120Hz and let me know if this helps.

Regards,

Rashi

Regards,
Rashi

View solution in original post

0 Likes
1 Reply
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

Hello,

Please refer to this thread Re: FX3 generate varying duty PWM of 120Hz and let me know if this helps.

Regards,

Rashi

Regards,
Rashi
0 Likes