Skip to main content
Visitor II
December 3, 2003
Question

ST72F324J6 PWM Output pin

  • December 3, 2003
  • 3 replies
  • 734 views
Posted on December 03, 2003 at 12:51

ST72F324J6 PWM Output pin

    This topic has been closed for replies.

    3 replies

    brian4Author
    Visitor II
    December 3, 2003
    Posted on December 03, 2003 at 07:08

    Is the PWM output (OCMP1A) on Port F bit 4 effected by the DDR & the OR or does the the PWM write to the Pin/Pad directly.

    I want an open drain output from the PWM.

    Is this achievable?

    [ This message was edited by: BrianM on 03-12-2003 11:39 ]
    Visitor II
    December 3, 2003
    Posted on December 03, 2003 at 12:26

    When an alternate function is used , alternate function takes priority our standard I/O programming. When signal is coming from on-chip peripheral, that pin is automatically configured in O/P mode(push-pull or open-drain) depending up on the peripheral used. So, it is not possible to change this configuration.

    brian4Author
    Visitor II
    December 3, 2003
    Posted on December 03, 2003 at 12:51

    Many thanks