RTC on RDB1768

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

RTC on RDB1768

763 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by renan on Tue Sep 14 11:54:53 MST 2010
Hi,

I have been problems trying to initialize and run this example attached. Some one can help?
I must be doing something really stupid, this should be easy, but I've been trying to get this working since yesterday and I'm running out of ideas.

Renan
0 Kudos
12 Replies

741 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by larryvc on Wed Feb 23 13:42:05 MST 2011
I made a mistake about the missing parts on my board.  C44 and C49 are missing.

I can get crystal Y3 to oscillate with stray capacitance (my finger) at the pad of C44 or at the junction of C43 and Y3.

I contacted Embedded Artists AB and thanks to Anders I have a new board on the way. :):):)
0 Kudos

741 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by larryvc on Mon Feb 21 22:27:54 MST 2011
I would get someone to solder the parts for me but I do not have R91 or C44.  Also the pads for these two parts are less than 1.0mm apart.  Not enough room for more solder or larger parts.

Can I send the board to Embedded Artists for rework?
0 Kudos

741 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Mon Feb 21 22:03:27 MST 2011
Try to use a little bit more solder and THT resistor / capacitor instead of SMD. Looks like old-fashioned SMD :)
Or ask someone with SMD equipment to solder it for you.
0 Kudos

741 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by larryvc on Mon Feb 21 21:23:11 MST 2011
I found out why my attempts to use the RTC on my LPCXpresso1769 didn't work by following this thread.

It appears that R91 and C44 are missing.

I thought I might have gotten a bad board when I noticed that D7 anode was not soldered upon receipt of the board. I performed a repair for that issue but didn't notice the other missing parts and they are way to tiny for me to rework.

I soldered headers on the board and I don't think DIGIKEY will RMA the board.

So I guess I'm out $29.95 plus.

Any other ideas for resolution of this problem would be appreciated.

Thanks
0 Kudos

741 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by renan on Wed Sep 15 07:30:15 MST 2010
Found the solution. Everything is working here now.

Thanks,
Renan
0 Kudos

741 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Wed Sep 15 06:04:07 MST 2010
Please see:

http://support.code-red-tech.com/CodeRedWiki/RDB1768BoardErrata

Regards,
CodeRedSupport
0 Kudos

741 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by renan on Wed Sep 15 05:45:58 MST 2010
Now I did check the crystal. It is probably a layout problem. I'm contacting CodeRed directly to their support email. I will write here the solution later, if someone is having the same problem as I.

RDB1768 Rev 1

Renan
0 Kudos

741 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Tue Sep 14 12:58:09 MST 2010
ISR is working (called every minute),
Uart0 is working also:

:: Current Time: 0:2:49
:: Current Time: 0:2:49
:: Current Time: 0:2:49
:: Current Time: 0:2:49
:: Current Time: 0:2:49
:: Current Time: 0:2:49
:: Current Time: 0:2:49
:: Current Time: 0:2:49
:: Current Time: 0:2:49
:: Current Time: 0:2:49
:: Current Time: 0:2:49
:: Current Time: 0:2:49
:: Current Time: 0:2:50
:: Current Time: 0:2:50
:: Current Time: 0:2:50
:: Current Time: 0:2:50
:: Current Time: 0:2:50
:: Current Time: 0:2:50
:: Current Time: 0:2:50


I think I suggested it before: check your hardware :mad:

Did you check the crystal ?
0 Kudos

741 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by renan on Tue Sep 14 12:46:06 MST 2010
SEC is always 0 here. :(

Renan
0 Kudos

741 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Tue Sep 14 12:39:33 MST 2010
I've checked SEC (RTC Peripherals) and your current_time.RTC_Sec, so that part of software is working.
0 Kudos

741 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by renan on Tue Sep 14 12:26:38 MST 2010
Just to make things clear, to see if I got it wrong. What's your output?
Something like this?

:: Current Time: 0:0:0
:: Current Time: 0:0:0
:: Current Time: 0:0:0
:: Current Time: 0:0:0
:: Current Time: 0:0:0
:: Current Time: 0:0:0
:: Current Time: 0:0:0


If I set a breakpoint at RTC_IRQHandler, and it never gets called...

Renan
0 Kudos

741 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Tue Sep 14 12:15:59 MST 2010
Your attached example is working with my own board, so i would assume it's a hardware problem (board / crystal ?) :).
0 Kudos