LPC213x RTC

Started by James Brown in LPC200010 years ago 2 replies

Hello, I just wondering if anyone can help me with the RTC. I am currently using a LPC2136 with an external 32K crystal connected to the RTC. I...

Hello, I just wondering if anyone can help me with the RTC. I am currently using a LPC2136 with an external 32K crystal connected to the RTC. I have set the RTC source to external. It seems to be working as expected. However, for our application we need a clock with a finer granularity than 1 second which is what the RTC provides. So I am attempted to read from the RTC Counter and divide t...


RTC values reset to zero

Started by tayyaba_ch in LPC20008 years ago 4 replies

Hi i am working with LPC 2368 and using 32k external crystal for RTC and cell as RTC power supply. RTC is working fine, i can set and read RTC...

Hi i am working with LPC 2368 and using 32k external crystal for RTC and cell as RTC power supply. RTC is working fine, i can set and read RTC successfully, but some times it resets to 0(hour,minutes,seconds,day,week,month,year) randomly and by setting again its value it works properly. Regards ------------------------------------


RTC backup

Started by omkar vyas in LPC200011 years ago 2 replies

hi, kit -lpc 2104 ARM it has on chip RTC but it does not have battery backup. RTC is on prime use of application which i am developing i can't...

hi, kit -lpc 2104 ARM it has on chip RTC but it does not have battery backup. RTC is on prime use of application which i am developing i can't afford to lose my data as power goes off so please suggest me what i should do ? i am having option of external RTC but in board design care has not been taken so what else i can do? __________________________________________________ -------...


RTC and power consumption

Started by "joris.mushrooms" in LPC20008 years ago 2 replies
RTC

Hello everybody, I'm interested in LPC24xx and i'm currently working on RTC feature. My aim = is to keep RTC running when my system is plugged...

Hello everybody, I'm interested in LPC24xx and i'm currently working on RTC feature. My aim = is to keep RTC running when my system is plugged off, so i need to determin= e battery (or supercap) capacity. On the datasheet, i can read that RTC consumes 20 or 28=B5A on VBAT. Compar= ed to other =B5C of this range i think it's a bit large. does anybody allready tested that? got tips or ex...


RTC alarm problem lpc2148

Started by timo_kuisma in LPC200010 years ago 2 replies

Hi, I try to use RTC alarm every 5 sec. And now i ask yuo that why i cant get RTC alarm. I have RTC backup battery and i use 32MHz external...

Hi, I try to use RTC alarm every 5 sec. And now i ask yuo that why i cant get RTC alarm. I have RTC backup battery and i use 32MHz external oscillator. RTC.H is next: #ifndef __RTC_H #define __RTC_H typedef struct { DWORD RTC_Sec; /* Second value - [0,59] */ DWORD RTC_Min; /* Minute value - [0,59] */ DWORD RTC_Hour; /* Hour value - [0,23] */ DWORD RTC_...


RTC loses time when Vdd is removed

Started by ajellisuk in LPC200010 years ago

Hi I have an LPC2148 board from IAR systems. I have been trying to set up the RTC. As long as power remains on the Vdd the RTC runs...

Hi I have an LPC2148 board from IAR systems. I have been trying to set up the RTC. As long as power remains on the Vdd the RTC runs correctly. I have a battery conected to Vbat supplying 2.8V. As soon as power is removed from Vdd the RTC is reset. I have set the RTC to use an external crystal by setting: CCR_bit.CLKSRC = 1; Could someone please explain what I may be doing wrong....


LPC2138 and RTC running from vBatt

Started by Darcy Williams in LPC200010 years ago 2 replies

Is it possible to run the RTC from vBatt while Vdd is sitting at 0V? There seem to be mixed opinions of this on the forum and the data sheet is...

Is it possible to run the RTC from vBatt while Vdd is sitting at 0V? There seem to be mixed opinions of this on the forum and the data sheet is anything but specific. There are details about how many uA the RTC draws from vBatt when the LPC is in power-down mode, but nothing about the current draw when the only thing being powered is the RTC with power removed from everything else. Can t...


RTC problem

Started by r_bottleneck in LPC200012 years ago 4 replies

Hello, I have a stupid problem with the LPC2138 RTC. The RTC works with my SW on an Olimex EVB perfectly . However, I designed an...

Hello, I have a stupid problem with the LPC2138 RTC. The RTC works with my SW on an Olimex EVB perfectly . However, I designed an own board and the same SW doesn't start the RTC . I checked the new board several times it seems to be ok. Also I checked several different crystals, as well as different capacitors without success.VBat is su


UART0 and RTC

Started by liem...@yahoo.com in LPC200010 years ago

I am a newbie in ARM. I make a digital clock project with internal RTC and send with uart0. I have been tested the UART0 without RTC...

I am a newbie in ARM. I make a digital clock project with internal RTC and send with uart0. I have been tested the UART0 without RTC initialitation and works well. but when I init RTC and RTC interrupt UART0 can't work. This is my source code. I use Keil for the compler. Thank you. #include #include unsigned char jam,menit,detik; void update (unsigned char a,unsi


RTC Issue in LPC2364

Started by prab...@yahoo.co.in in LPC20008 years ago 2 replies

Hi all, I am using LPC2364 with FreeRTOS,GNUARM. Issue: I have Set RTC Alarm to one minute.After setting RTC suddenly,My...

Hi all, I am using LPC2364 with FreeRTOS,GNUARM. Issue: I have Set RTC Alarm to one minute.After setting RTC suddenly,My program hanging(after task_exit critical()).But in LPC2103 its working.Which means getting RTC alarm interrupt after one minute.Is there any different between LPC21xx and 23xx RTC Setting.Please share your knowledge??? Interrupt priority only differs betwe...


RTC on LPC2478

Started by Daniel P in LPC20008 years ago 2 replies
RTC

Hi all, I got a RTC issue on the LPC2478, when the device resets the time and date is ok, when power is cycled the time is still ok but date is...

Hi all, I got a RTC issue on the LPC2478, when the device resets the time and date is ok, when power is cycled the time is still ok but date is corrupt, data sheet for RTC says 2.0V to 3.6V for Vbat, and RTC typically fails below 1.6V, battery measured 3.0V (not inserted) any ideas? thanks __________________________________________________________________ Yahoo! Canada Toolbar: ...


RTC problem in LPC2148

Started by Sean in LPC200012 years ago 8 replies

Hello everyone, I've got a bit of a strange problem with the RTC in my setup. I have a dedicated lithium battery going to the Vbat pin to...

Hello everyone, I've got a bit of a strange problem with the RTC in my setup. I have a dedicated lithium battery going to the Vbat pin to power the RTC, and it usually works fine, however periodically the clock changes to an invalid value and stops running. Usually this value is something like "Year:129 Month:00 Day:16 Hour:02 Min:09 Sec:08", and unless I reset the RTC to a


Disturbing errata for the LPC1765 RTC

Started by afolly_mil2 in LPC20007 years ago 15 replies
RTC

Hi All, As advised by someone on this list, I looked up the NXP site for updated (J= uly 2010) User Manual and Errata sheets for the...

Hi All, As advised by someone on this list, I looked up the NXP site for updated (J= uly 2010) User Manual and Errata sheets for the LPC1765. Among the errata listed, one is (and I quote without permission!): ************************************** RTC.1: The Real Time Clock (RTC) does not work reliably within the temperature specification Introduction: The RTC is a set of counters fo...


RTC problem in 2136

Started by Pandurang Shinde in LPC200012 years ago 9 replies

Hi, I am using LPC2136.I am facing some RTC related problems in few boards. I am writing some value in RTC on power on but it is not...

Hi, I am using LPC2136.I am facing some RTC related problems in few boards. I am writing some value in RTC on power on but it is not incrementing. This type of problem is not in all board but few of them.Some board work without any problem. I also observed that when i use jlink for debug ,value of RTC register(SEC,MIN etc) are incrementing ,but these increment a


RTC & keyboard program

Started by supriya albal in LPC20008 years ago 1 reply

I am simultaneously using ADC, RTC and keypad. I want one key to be used for?START of conversion and other for STOPping it. RTC should update...

I am simultaneously using ADC, RTC and keypad. I want one key to be used for?START of conversion and other for STOPping it. RTC should update channels. The problem is i can?either?get RTC interrupts updates?per second or keypad scanning. Two of them can't occur simultaneously. So when i get updates, pressing STOP key has no impact. What can be reason??


Incorrect RTC Alarm(23:59:59) Issue in LPC2101

Started by prab...@yahoo.co.in in LPC20008 years ago 4 replies

Hi all, I am working on LPC2101 for past 4 months. I am facing one unexpected behavior when put LPC in to Powerdown mode long time and...

Hi all, I am working on LPC2101 for past 4 months. I am facing one unexpected behavior when put LPC in to Powerdown mode long time and wakeup using RTC Alarm. Sample code step: 1.Enable RTC Reset RTC clock in CCR register. then ILR = 0x03; CCR = 0x11; ...


RTC Power Down Problem

Started by Shashank Maheshwari in LPC20005 years ago 3 replies

Hello I have issues with the RTC of my LPC2148 board. The system is always in PD mode. I want it to wake up every few seconds(say 5sec)...

Hello I have issues with the RTC of my LPC2148 board. The system is always in PD mode. I want it to wake up every few seconds(say 5sec) transmit at UART and go back to PD mode. I use external 32kHz oscillator with external 3.0 V battery for the RTC. The same when added with external interrupts works perfect for external interrupts however no result on the RTC peripheral. Following is th...


RTC value jumps if battery RAM location is written with some value

Started by "S.R.Sasi Kumar" in LPC20008 years ago 2 replies
RTC

=A0 Hello all, =A0 I am using LPC2468 in my application wherein i wanted to initialize my RTC = during the application startup. Before...

=A0 Hello all, =A0 I am using LPC2468 in my application wherein i wanted to initialize my RTC = during the application startup. Before initializing the RTC i must check wh= ether the RTC is battery backed or not by reading a specific location of ba= ttery RAM using the below code. =A0 =A0isRTCBatteryBacked =3D (*batteryBackedRAMLocation) =3D=3D 0xA5A5A5A5?TRU= E:FALSE; =A0 /*=A0If n...


lpc2136 RTC problem

Started by topandurangs in LPC200012 years ago

Hi, I am using LPC2136.I am facing some RTC related problems in few boards. I am writing some value in RTC on power on but it is not...

Hi, I am using LPC2136.I am facing some RTC related problems in few boards. I am writing some value in RTC on power on but it is not incrementing. This type of problem is not in all board but few of them.Some board work without any problem. I also observed that when i use jlink for debug ,value of RTC register(SEC,MIN etc) are incrementing ,but these increme


RTC LOCK

Started by samjith_wasim in LPC20008 years ago 1 reply
RTC

Hello guys, I have a doubt in RTC driver of LPC2368 . After the Setting the Date and Time is there any provision for Locking up the Registers...

Hello guys, I have a doubt in RTC driver of LPC2368 . After the Setting the Date and Time is there any provision for Locking up the Registers of RTC so that no one can change the data or time further after releasing the product . Thanks for all your Support Looking forward, Samjith ------------------------------------