Description
ECET 365 Week 5 Complete DeVry
ECET 365 Week 5 Timing and Intterupts DeVry
ECET 365 Week 5 Discussions
WEEK 5: SOFTWARE INTERRUPT COMMANDS
What software commands are used to allow the 9S12 program to receive interrupts?
WEEK 5: POLLING VERSUS INTERRUPTS
For your project, which subsystems should use polling and which should use interrupts?
ECET 365 Week 5 HOMEWORK
Page 241, Problems 4.1–4.9
Don’t forget to submit your assignment.
ECET 365 Week 5 COURSE PROJECT (DUE IN WEEK 8)
Review the Course Project Overview under the Introduction & Resources area for an overall description of the Course Project, grading rubric, and deliverables.
Although this week’s Lab focuses specifically on interrupts, you should use this opportunity to ensure that the software works correctly. This means that you will be loading each of two programs from Appendix A of the Construction Notes for the Robotic Car (Found in the Files section of the Course Menu).
The Lab is focused on tasks required to develop a power supply system for the project.
ECET 365 Week 5 Lab
Lab 5: Converting Requirements to a Work Schedule
Objectives
- Determine the timing requirements for data to and from subsystems.
- Change a procedural subroutine to an interrupt-driven subroutine.
- Compare the interrupt-driven system operation to the procedural system.
Parts List
- Robotic Car Kit with visual sensor
- Freescale Tower Kit with S12G128 CPU board
- PC with IDE software (e.g. CodeWarrior Development Studio V5.1)
- Alternative Robotics Kit or other kit if applicable
- Oscilloscope with X10 probe
Introduction
- A system can use many ways to ensure that operations are controlled. A procedural code program can manage the data to and from devices within the main program, or it can use interrupt requests to cause the CPU to jump from the main program to a subroutine.
- We will take the code for the Smart Car and modify it to use an interrupt service routine. We will then compare the performance of the two approaches by measuring the period of the SI pulse on the video sensor.
Deliverables
Answer all questions in Week 5 Lab Cover Sheet here (Links to an external site.)Links to an external site..
Submit your Week 5 Lab Assignment.
You can also download the cover sheet for Week 5 Lab in the Files section of the Course Menu.
Required Software
CodeWarrior Development Studio for S12(x) V5.1
Access the software at http://www.nxp.com/ (Links to an external site.)Links to an external site. (Links to an external site.)Links to an external site..
Lab Steps
STEP 1: Procedures
- Robotic Car Subsystems
- The interacting subsystems are the visual sensor subsystem, the steering subsystem, and the CPU board subsystem. We need to ensure that the motor subsystem does not affect the other systems.
- Set the assembled car on blocks so that the motor wheels can move freely. Consider that the front wheels must have room to move side to side, and that the back wheels will be powered.
- Load the car program into the CPU board. Ensure that the video sensor inputs and outputs are connected to the CPU board. Also, ensure that the servo inputs are correctly connected.
- In a previous lab, we have tested the steering with an index card that has a 1-inch-wide stripe down the center of the card. This time, we will test the system with the wheels powered.
- Test the system with the subsystems powered, but the motor power to the H-bridges disconnected. Troubleshoot the system if it does not operate satisfactorily. Once the steering system works correctly, proceed to the next step.
- Load the CPU with the first program shown in Appendix A of the Construction Notes for the Robotic Car (see the Files section of the Course Menu). If a test track is available, run the Robotic Car program and observe the operation. If a test track is not available, set up the car on a block so that the wheels are free to turn. Use the test index card with the center black stripe. Observe the operation of the car as the stripe is moved left and right.
- Load the CPU with the second program shown in Appendix A. Run the program and observe the operation of the Robotic Car as the index card center stripe is moved left and right.
- Observations – Complete the following questions in the Week 5 Lab Cover Sheet and submit your Lab Assignment.
- Compare the operation of the first program with the operation of the second program.
- Explain why the timing has changed.
- What changes should be made to the second program to enhance the Robotic Car performance?
ECET 365 Week 5 Quiz
Instructions
Here is some information about your Quiz.
- This quiz covers CO 6 and Chapter 4.
- This quiz is worth 20 total points, which include the following questions:
- 3 multiple-choice questions at 5 points each;
- 1 short-answer question at 5 points each; and
- You have 60 minutes to finish the quiz.
- Here is a reminder to SAVE frequently, because when the time limit is reached, you will automatically be exited from the exam.
- This quiz contains one page.
By submitting this work, I am attesting that it abides by the Student Honor Code.
Course Tutor helps in providing the best essay writing service. If you need 100% original papers for ECET 365 Week 5 Complete DeVry, then contact us through call or live chat.
ECET 365 Week 5 Complete DeVry
![Best ECET 365 Week 5 Complete DeVry](http://coursetutor.us/wp-content/uploads/2018/05/eb-10.png)
ACCT 553 DeVry, BIAM 500 DeVry, CIS 500 STR, CIS 558 STR, ENG 105 GCU, FIN 390 DeVry, FIN 504 GCU, HCA 545 GCU, HCA 699 GCU, HLT 306 GCU, HLT 362 GCU, HLT 555 GCU, HLT 610 GCU, HLT 665 GCU, HOSP 594 DeVry, HRM 600 DeVry, MAT 144 GCU, MGMT 600, MGT 599 STR, MGT 655 GCU, MKT 373 GCU, PSY 362 GCU, PSY 565 GCU, PSY 575 GCU, PSY 665 GCU, SOC 102 GCU, SOC 320 GCU, SOC 372 GCU, SOC 412 GCU, NSG 6440 SU, HIM 515 GCU, NSG 4029 SU, HIM 615 GCU, NSG 3029 SU, NSG 4055 SU, NSG 6630 SU, NSG 6005 SU, CRMJ 310, PSY 510 GCU, CRMJ 300 Devry, CRMJ 425, SPD 200 GCU, HLT 490 GCU ,ECH 340 GCU , ECH 440 GCU , ECH 355 GCU ,ECH 350 GCU ,LDR 461 GCU ,ECH 425 GCU ,REL 212 STR ,SCI 115 STR ,CIS 505 STR ,JUS 652 GCU, MGT 640 GCU, CIS 527 STR, SOC 436 GCU,ACC 502 GCU, FIN 504 GCU , MATH 260 DeVry ,ETHC 445 DeVry ,ECET 220 DeVry , CARD 405 DeVry, NETW 203 DeVry, NETW 205 DeVry, ECET 365 DeVry
Reviews
There are no reviews yet.