PWM module on PIC18F2431

Discussion in 'The Projects Forum' started by mattieg, Mar 4, 2010.

  1. mattieg

    Thread Starter New Member

    Nov 28, 2008

    Hopefully someone here can help clarify something for me. I am using the PIC18F2431 to control the L6234 chip for BLDC motor control. I have wired it up with not enough thought and have found that the PWM module works in pairs. However I need the odd pins to output PWMs and the evens to set the enable bits of the half bridges (something I was planning to do manually).

    Anyway I have read the datasheet to see if I can do it this way and have found that I can have the odd pins set for PWM output but it doesn't say if I can then use the even pins for general I/O.

    Does anyone know if this is possible? I can see why it wouldn't be but can't find out for sure.

    Thanks for your time
    Last edited: Mar 4, 2010