Reverse in software PWM4 and PWM5 pins (PIC18F2431)


Closed Thread
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,624


    Did you find this post helpful? Yes | No

    Default Re: Reverse in software PWM4 and PWM5 pins (PIC18F2431)

    Hi,
    Well, you have the HPOL and LPOL bits in CONFIG3 (see section 18.11) but they control the polarity of all the "high" and "low" side signals at once. So, as far as I can see there is no way of doing this in software, I think you need to do a little hack on the PCB.

    /Henrik.

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: Reverse in software PWM4 and PWM5 pins (PIC18F2431)

    Quote Originally Posted by HenrikOlsson View Post
    Hi,
    Well, you have the HPOL and LPOL bits in CONFIG3 (see section 18.11) but they control the polarity of all the "high" and "low" side signals at once. So, as far as I can see there is no way of doing this in software, I think you need to do a little hack on the PCB.

    /Henrik.
    Thanks, I see that, so I will do a little modification on the PCB (sadly).

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts