Open SpaceShawn opened 9 years ago
i have not seen this before. i checked the data sheet and the ds1307 does not have an alarm, does this occur multiple times?
On Fri, Mar 13, 2015 at 5:16 PM, SpaceShawn notifications@github.com wrote:
Assigned #8 https://github.com/spaceconcordia/space-jobs/issues/8 to @shawn97 https://github.com/shawn97.
— Reply to this email directly or view it on GitHub https://github.com/spaceconcordia/space-jobs/issues/8#event-252682235.
Shawn Stoute
Spacecraft: CD&H Hardware Lead of ConSat-1 Space Concordia http://spaceconcordia.ca/lunabotics-home/ C: (438) 933-6352
Yes it happens every time the code is run. It's unclear what the alarm means, whether it's an acknowledgement notice or an indication of a problem. Linux is usually silent when a task is successful
I tried looking it up, but there is barely any hits. The only thing I can think if is that if there is an alarm in the strict. It must have set it to 0 automatically.
Have you tried to set the alarm to 0 in the struct ?? On 14 Mar 2015 11:47, "SpaceShawn" notifications@github.com wrote:
Yes it happens every time the code is run. It's unclear what the alarm means, whether it's an acknowledgement notice or an indication of a problem. Linux is usually silent when a task is successful
— Reply to this email directly or view it on GitHub https://github.com/spaceconcordia/space-jobs/issues/8#issuecomment-80543362 .
There is no alarm in a tm structure, it's just a characterization of a date and time. The output is a reaction from Linux or I2C to interaction with the hardware.
We should test this on the PC to see if it is Q6 specific, how easy would it be to hook the RTC up to mustang?
Hmm. Not that easy. Get a beagle bone black or raspberry pi. On 15 Mar 2015 10:37, "SpaceShawn" notifications@github.com wrote:
There is no alarm in a tm structure, it's just a characterization of a date and time. The output is a reaction from Linux or I2C to interaction with the hardware.
We should test this on the PC to see if it is Q6 specific, how easy would it be to hook the RTC up to mustang?
— Reply to this email directly or view it on GitHub https://github.com/spaceconcordia/space-jobs/issues/8#issuecomment-81046024 .
Firstly and fortunately, setting the RTC seems to be successful.
However, when we execute the following code to write a new time to the external RTC we receive a control_alarm from linux
Shawn, have you seen this before or know what it means?