using the pwm's in pic18f2431-2331-4331-4431


Closed Thread
Results 1 to 28 of 28

Hybrid View

  1. #1
    Join Date
    Aug 2005
    Location
    NC
    Posts
    8


    Did you find this post helpful? Yes | No

    Default What Logic Analyzer?

    Bruce,

    What Logic Analyzer did/do you use, that you posted the screen capture (I'm making at least one or two assumptions here...) in the above post? A BitScope? or something else? I'm in the market for a USB MSO (I have a Tek 1220 LA and two Tek Scopes, but they're all analog with no comms for a PC for data analysis, etc.).

    Thanks,

    Brad

  2. #2
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Hi Brad,

    The DigiView shown here http://www.tech-tools.com/dv_main.htm

    I have the DV1-100 shown in the hand.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  3. #3
    Join Date
    May 2007
    Posts
    2


    Did you find this post helpful? Yes | No

    Talking thank's for this reply

    thanks all you guys for ypur time to answer this threat!!.
    but i think i will gonna use the code you post for checkin!!!!, thanks a lot for this forum!
    thanks all your guys!!!

  4. #4
    Join Date
    Jun 2007
    Posts
    56


    Did you find this post helpful? Yes | No

    Default

    Hi Bruce,

    I also got the PWM's working, but there is a problem now : LCD displays doesn't work properly, say I want to display " Welcome " , LCD displays " We$&ome" or something like that
    If I delete the PWM config & code, LCD working fine.

    Johan

  5. #5
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Hi Johan,

    Which port/ports are you using for the LCD?
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  6. #6
    Join Date
    Jun 2007
    Posts
    56


    Did you find this post helpful? Yes | No

    Default

    I am using RD2,RD3,RD4,RD5,RD6,RD7 ( cannot change these , as these are hardwired on my easypic4 )

    The problem starts even before PWM channels are active

  7. #7
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    You'll need to disable PWM for PORTD pins you're using to control your LCD. See if changing
    PWMCON0 = %01010100 to PWMCON0 = %01000100 helps. %01010100 turns them ALL on
    for the 18F4431.

    Also check your config settings. CONFIG3H has an option where you can force PWM4 output
    to be on RB5 or RD5. You'll obviously want this on RB5 since you're using RD5 for your LCD.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

Members who have read this thread : 2

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