DS1302 tricky-charge.
Archiver
Posts: 46,084
anyone successful setting up the trickle charge function?? (the
timekeeping part is working OK). Not me. After a good dose of
frustration I went to the archive files looking for info. Check out
message 38113 if you're a bonafide member of the amature hack club
like me. It's a great story (but didn't help).
anyway, this is what I'm trying, and it ain't working (compiles,
loads, runs, but doesn't charge the 5V 1F cap):
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
TChgReg CON %0100
D1R2 CON %10100110 '1 diode 2 resistors
SetCharge:
RTCCmd = TChgReg
temp=D1R2
HIGH RTCCS
SHIFTOUT Dta, Clk, LSBFIRST, [noparse][[/noparse]RTCCmd,temp]
LOW RTCCS
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
thanks in advance! Steve Hinote
timekeeping part is working OK). Not me. After a good dose of
frustration I went to the archive files looking for info. Check out
message 38113 if you're a bonafide member of the amature hack club
like me. It's a great story (but didn't help).
anyway, this is what I'm trying, and it ain't working (compiles,
loads, runs, but doesn't charge the 5V 1F cap):
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
TChgReg CON %0100
D1R2 CON %10100110 '1 diode 2 resistors
SetCharge:
RTCCmd = TChgReg
temp=D1R2
HIGH RTCCS
SHIFTOUT Dta, Clk, LSBFIRST, [noparse][[/noparse]RTCCmd,temp]
LOW RTCCS
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
thanks in advance! Steve Hinote