Recent Question/Assignment

Faculty of Computing, Engineering and Science

Assessment Cover Sheet and Feedback Form 2021-22
Module Code:
NG2S901
Module Title:
Configuration and Programming of Embedded Systems
Module Team:
Sivagunalan Sivanathan
Assessment Title and Tasks:
Digital Alarm Clock
Assessment No.
1
Date Set:
27-Sep-2021 23:55
Submission Date:
18-Feb-22
Return Date:
+4weeks
IT IS YOUR RESPONSIBILITY TO KEEP RECORDS OF ALL WORK SUBMITTED
Marking and Assessment
This assignment will be marked out of 100%
This assignment contributes to 25% of the total module marks.
Learning Outcomes to be assessed (as specified in the validated module descriptor https://icis.southwales.ac.uk/ ):
1) The student will be able to design embedded systems using the configurable on-chip peripherals in the C programming language, and select and implement the appropriate design approaches to embedded system.
2) The student will be able to understand the problems associated with interfacing to external devices, and where appropriate provide software solutions to overcome these issues.
Provisional mark only: subject to change and / or confirmation by the Assessment Board
Assessment Task:
Marking Scheme Marks Available Marks Awarded

Development of an Embedded system
• Appropriate configuration of SFR 20
• A fully commented and well presented code listing 10
• Correct functioning program 30
• Implementation of flowchart and state diagram 10
• fully Documented Report 20
Report structure
• Class performance 10
Total 100
Grading Criteria:
Performance Level Criteria
Fail ( 40%) Insufficient documentation and poor report writing with substantial flaws
3rd Class / PASS
(40% - 49%)
Very basic documentation of experiment, with little background and insignificant conclusion
Lower 2nd Class / PASS
(50% - 59%) Some parts addressed well, but overall relatively basic or with significant flaws
Upper 2nd Class / MERIT
(60% - 69%) As 1st class, but with minor flaws in each section
1st Class / DISTINCTION
(70% +)
Very good documentation of experiment, display of results in graphical form, in-depth
Assignment Brief
Alarm Clock
You are required to design a digital alarm clock using the Rx63N development board and the plug in daughter board. The alarm clock’s functionality follows the State Transition Diagram in Figure 1. As there are no audible outputs on these boards, use two LEDs that flash alternately to signify an alarm condition. Use a third LED to give a visual output as to when the alarm is in a set condition. The alarm clock uses three buttons to change the mode of operation, as indicated in State Transition Diagram.
The alarm clock’s alarm can only be set or cleared in the ‘Normal Display’ state; this is the only state that the alarm condition can be activated, which would require the alarm to be set and the actual time to match the alarm time. If the alarm has been activated then any of the three buttons will stop the alarm, taking it out of the set condition. If the alarm is not stopped by user interaction, then after one minute the alarm clock will automatically stop the LEDs toggling, again taking it out of a set condition.
You also need to ensure that there is timeout facilities for when the user takes the application into a state other than Normal Display. This would ensure that after a period of time with no user interaction the application would revert back to the ‘Normal Display’ state. This feature is not indicated on the State Transition Diagram, Figure 1., but needs to be included and submitted as part of your report.

Figure 1 State transition diagram of Alarm Clock