> 3. have you tried running with vpbdiv set to 1 (ie resulting in > 60mhz opertion (ish).. i am using that for my system without any > problem... Good news! After setting VPBDIV = 1 (pclk =cclk) and setting PREINT and PREFRAC (based on the user manual), the RTC counted correctly. Thanks Pete. The RTC also worked for VPBDIV = 2 (pclk = cclk/2). But interestingly, the RTC still counted twice as fast after using VPBDIV = 0. I repeated everything on 2 different lpcs (lpc2114 @14.7456MHz & lpc2129 @12MHz). You can even try it out on your own; I wouldn't be surprised you'll get the same results. and got the same results. So RTC's OK only when vpbdiv = 1 (pclk=cclk) or 2 (pclk = cclk/2). Otherwise RTC's doubles in speed when vpbdiv = 0 (cclk/4). I hope Philips has an explanation for this one...I have no clue why. For now, I can live with using a different vpbdiv setting to make everything work. Thanks again
Message
Re: RTC manipulation (ctd.)
2004-10-07 by Leighton Rowe
Attachments
- No local attachments were found for this message.