2003-10-27 04:17 AM
2011-05-17 02:56 AM
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. Witt2011-05-17 02:56 AM
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).