Urgent : For setting RTCCR register

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Urgent : For setting RTCCR register

1,107 Views
roop
Contributor I

Hi all,

 

I am using a MCF52213 microcontroller, I want implement a RTC module for that I am setting RTCCR register. When I read this register  it always display zero value.

 

Please help me to resolve this problem.

 

Regards,

Roop

Labels (1)
0 Kudos
4 Replies

360 Views
mjbcswitzerland
Specialist V

Hi Roop

 

There are several discussions about the RTC in the V2 MCU devices in the forum. Try the following: http://forums.freescale.com/freescale/board/message?board.id=CFCOMM&message.id=7891&query.id=76784#M...

 

Regards

 

Mark

 

0 Kudos

360 Views
roop
Contributor I

hi,

 

 

I not able set RTCCR register. In link u are you are tell about the secret bit  , I want to set this bit.

 

Actually I want to set RTCCR register but any value  I write in this register it always give me a zero value.This register is access in any supervisor mode as written in dataset of MCF52213. Is any special setting is required to write  this register ?

 

0 Kudos

360 Views
mjbcswitzerland
Specialist V

Hi

 

Have you first enabled the RTC by setting the enable bit (0x80) inthe RTCCTL register?

Do you also have a voltage connected to the Vbat pin?

 

Regards

 

Mark

 

0 Kudos

360 Views
roop
Contributor I

 

A voltage connected to the Vstby and to RTC module we write in RTCCTL =0x80 but when we read this value itis also give zero.

 

We are also set other register of RTC module and read this registers, they all return zero value .

 

Coluld you please explain why we are not able to write into any regrister related to RTC ?

 

 

0 Kudos