ECET 340 Final Exam 3 Latest Version

ECET 340 Final Exam 3 Latest Version

Author: Abraham Nolito


1. (TCO 1) Which of the following best describes the action of a keypad driver program? (Points : 10)

Question 2. 2. (TCO 1) Which of the following is not an advantage of an LCD compared to an LED display? (Points : 10)

Question 3. 3. (TCO 1) For the LCD, describe the function accomplished with the R/W~ control signal. Also, indicate whether this signal is an LCD input or LCD output. (Points : 10)
Question 4. 4. (TCO 1) In the standard set-up of a keypad, the four rows are connected to 9S12G128 output ports, and the four columns are connected to input ports with internal pull up resistors enabled. In your own words, describe how the scanning program determines which key is pressed. (Points : 10)
Question 5. 5. (TCO 1) What are the advantages and disadvantages of using 4-bit data lengths to interface the 9S12G128 with an LCD? (Points : 10)
6. (TCO 2) Interrupts are enabled when _____. (Points : 10)
Question 7. 7. (TCO 2) For the 9S12G128 microcontroller external interrupt, what is the signal condition that causes an interrupt to occur? (Points : 10)

8. (TCO 2) The address of an ISR in the 9S12G128 is contained in the _____. (Points : 10)
9. (TCO 2) In your own words, explain why a programmer uses acli instruction in an ISR. (Points : 10)
10. (TCO 3) Which of the following is not part of the 9S12G128 embedded timer unit? (Points : 10)
1. (TCO 3) The 9S12G128 event counter is configured and enabled for rising edge. A 1.0 Hz waveform (TTL logic levels) is applied to the counter input. With the counter starting at 0x0000, what is the data contained in the event counter after 16.52 seconds (first count increment occurred at 0 seconds)? (Points : 10)

2. (TCO 4) In your own words, describe why DACs use the R-2R ladder configuration instead of a binary ladder. (Points : 10)
3. (TCO 5) What is the resolution for the HCS12 ATD in 10-bit mode with a reference voltage of +5V? (Points : 10)
4. (TCO 5) The 9S12G128 ADC is configured for 10-bit and right justified. Indicate the contents of the ADC data register (ATDDRn) for a reading of 605? (Points : 10)
5. (TCO 5) Which of the following types of analog-to-digital converters is used in the 9S12G128? (Points : 10)

See More
Try a College Course Free

Sophia’s self-paced online courses are a great way to save time and money as you earn credits eligible for transfer to over 2,000 colleges and universities.*

Begin Free Trial
No credit card required

26 Sophia partners guarantee credit transfer.

226 Institutions have accepted or given pre-approval for credit transfer.

* The American Council on Education's College Credit Recommendation Service (ACE Credit®) has evaluated and recommended college credit for 21 of Sophia’s online courses. More than 2,000 colleges and universities consider ACE CREDIT recommendations in determining the applicability to their course and degree programs.