Skip to main content
Visitor II
October 27, 2003
Question

PWM 4 Alert

  • October 27, 2003
  • 2 replies
  • 778 views
Posted on October 27, 2003 at 13:17

PWM 4 Alert

    This topic has been closed for replies.

    2 replies

    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 11:56

    I had a problem with the frequency of PWM4 and I observed that in file DK3200_dsn_2.zip the archive upsd3h contain the sfr PSCL1H and PSCL1L in the wrong address - PSCL1H (0xB3) and PSCL1L (0xB4). The right address is PSCL1L (0xB3) and PSCL1H (0xB4).

    I think that it may help somebody.

    Good luck to all.

    Witt

    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 11:56

    Thank you for pointing out the mistake! You are right in USB demo the file, upsd3200.h (DK3200_dsn_2.zip), had PSCL1L and PSCL1H reversed. The correct register address for PSCL1L=0xB3 and PSCL1H =0xB4.

    Fortunately, these registers are setup correctly in the first demo, PWM_ADC (DK3200_dsn_1.zip).