Skip to main content
yak8027au
Associate II
February 22, 2007
Question

Use OCMPB to generate PWM Signal

  • February 22, 2007
  • 2 replies
  • 721 views
Posted on February 22, 2007 at 13:18

Use OCMPB to generate PWM Signal

This topic has been closed for replies.

2 replies

yak8027au
yak8027auAuthor
Associate II
February 6, 2007
Posted on February 06, 2007 at 03:17

Hi,

I wanted to generate signal using PWM mode. However, the existing OCMPA pins are already occupied for other purposes. How can I use other pins like OCMPB to generate a PWM output?

kaouther
Associate II
February 22, 2007
Posted on February 22, 2007 at 13:18

Hi,

When timer is configured in PWM mode, the PWM signal will be generated on OCMPA pins. It would be better to use the OCMPB pins for other purposes as it is already available and not used in PWM mode and use the dedicated pin the OCMPA for the PWM signal.