cancel
Showing results for 
Search instead for 
Did you mean: 

PWM 4 Alert

lrodrigues
Associate II
Posted on October 27, 2003 at 13:17

PWM 4 Alert

2 REPLIES 2
lrodrigues
Associate II
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

joseph2399
Associate II
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).