ECET 340 Final Exam Latest Version

ECET 340 Final Exam Latest Version

Author: Abraham Nolito


Question 1. 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 LCD control signal? (Points : 10)
Question 3. 3. (TCO 1) For the LCD, describe the function accomplished with the RS 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)
Question 6. 6. (TCO 2) Which of the following is a nonmaskable interrupt? (Points : 10)
Question 7. 7. (TCO 2) For the 9S12G128 microcontroller external interrupts, which of the following is not an option as the signal condition to generate an interrupt? (Points : 10)
Question 8. 8. (TCO 2) In the 9S12G128, all interrupt vectors are _____. (Points : 10)
Question 9. 9. (TCO 2) In your own words, explain why the 9S12G128 registers need to be pushed to the stack before running an ISR. (Points : 10)
Question 10. 10. (TCO 3) The heart of the 9S12G128 timer unit is the timer counter (TCNT). How many bits are in the TCNT? (Points : 10)
Question 1. 1. (TCO 3) For the 9S12G128 event counter, which statement is correct? (Points : 10)
Question 2. 2. (TCO 4) In your own words, describe why DACs use the R-2R ladder configuration instead of a binary ladder. (Points : 10)
Question 3. 3. (TCO 5) What is the resolution for the HCS12 ATD in 10-bit mode with a reference voltage of +5V? (Points : 10)
Question 4. 4. (TCO 5) The 9S12G128 ADC is configured for 8-bit and right justified with a 5.12 V reference voltage. Indicate the contents of the ADC data register (ATDDRn) for a voltage input of 2.56 V? (Points : 10)
Question 5. 5. (TCO 5) Which of the following types of analog-to-digital converters is used in the 9S12G128? (Points : 10)
Question 6. 6. (TCO 5) A transducer produces a sinusoidal waveform with an amplitude of 2.5 VPK and a DC offset of 0 VDC. The ADC input signal range is 0 V to 5 V. Describe the signal conditioning circuit that is needed to use the full-scale range of the ADC. (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.