Skip to main content
Visitor II
January 10, 2005
Question

uPSD3234A Port 4 as GPIO

  • January 10, 2005
  • 1 reply
  • 496 views
Posted on January 10, 2005 at 06:03

uPSD3234A Port 4 as GPIO

    This topic has been closed for replies.

    1 reply

    lars_fAuthor
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 12:05

    Hello,

    I want to use the port 4 as GPIO.

    I define port 4 as GPIO in PSDsoft.

    In my firmware, I change the port signal by

    SETB/CLR 0C0H.x (x = P4.x)

    But I found everytime I set P4.x to be Low,

    there will be a High pulse (160ms) every 1.4 second.

    It's the same for each pin of Port 4.

    Does anyone know why?

    Many thanks in advance.

    Larz

    [ This message was edited by: Larz on 10-01-2005 15:41 ]