Skip to contentSkip to conversation

Read DS1306 RTC Seconds First

PATCH New Alan J. Luse 2 participants 2 messages May 2, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Read DS1306 RTC Seconds First

Read DS1306 RTC seconds first to latch reading and maintain integrity.

Alan J. Luse
Embedded Systems Engineer
Time America, Inc.
Suite 100, 8840 E. Chaparral Road, Scottsdale, Arizona 85250
Voice: (480) 296-0408 Fax: (480) 296-0444
-------------- next part --------------
A non-text attachment was scrubbed...
Name: u-boot-1.1.4.ds1306.diff
Type: application/octet-stream
Size: 1180 bytes
Desc: u-boot-1.1.4.ds1306.diff
Url : http://lists.denx.de/pipermail/u-boot/attachments/20060502/46c1ad04/attachment.obj

#1 lore raw

PATCH 1/1 Read DS1306 RTC Seconds First

Quoted 2 lines · In message <[email protected]>…

Read DS1306 RTC seconds first to latch reading and maintain integrity.

Your patch description does not match the content. You talk about reading, but modify the writing code.

And I think writing the seconds first is actually worse than the current code. Please explain what you really are trying to fix.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Where people stand is not as important as which way they face.
        - Terry Pratchett & Stephen Briggs, _The Discworld Companion_