Port direction for PWM in CY8C9560A

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

cross mob
Anonymous
Not applicable

Port direction should be configured for PWM opertaion, although it is inherently output ?

0 Likes
1 Solution
pushekm_21
Employee
Employee
10 likes received 5 likes given First like received

Yes, the port direction has to be configured as output because internally it configures the registers accordingly. I can understand that this does sound like an additional step but this is the firmware for this device is written.

   

 

   

Best regards,

   

Pushek

View solution in original post

0 Likes
2 Replies
pushekm_21
Employee
Employee
10 likes received 5 likes given First like received

Yes, the port direction has to be configured as output because internally it configures the registers accordingly. I can understand that this does sound like an additional step but this is the firmware for this device is written.

   

 

   

Best regards,

   

Pushek

0 Likes
Anonymous
Not applicable

Thanks for your help.

   

regards,

   

SOJAN

0 Likes