ECET 340(Microprocessor Interface) FINAL ,FALL 2015

ECET 340(Microprocessor Interface) FINAL ,FALL 2015.

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

[removed]Each row is activated one at a time until a column is found active.
[removed]All eight keypad pins inject signals into port pins configured as input pins.
[removed]The active key connects a port pin to common ground on the keypad.
[removed]The keypad contains logic, which actively generates a 4-bit code for every key.


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

[removed]Ease of programming
[removed]Limited to display numbers and a few characters
[removed]Ability to display numbers, characters, and graphics
[removed]Declining prices


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)










Question 6. 6. (TCO 2) Interrupts are enabled when _____. (Points : 10)

[removed]I = 0, X = 0
[removed]I = 0, X = 1
[removed]I = 1, X = 0
[removed]I = 1, X = 1


Question 7. 7. (TCO 2) For the 9S12G128 microcontroller external interrupt, what is the signal condition that causes an interrupt to occur? (Points : 10)

[removed]Falling edge
[removed]Logic LOW
[removed]Rising edge
[removed]Depends on the initialization of the external interrupt


Question 8. 8. (TCO 2) The address of an ISR in the 9S12G128 is contained in the _____. (Points : 10)

[removed]ISR location
[removed]interrupt address
[removed]interrupt vector
[removed]interrupt enable


Question 9. 9. (TCO 2) In your own words, explain why a programmer uses a cli instruction in an ISR. (Points : 10)




Question 10. 10. (TCO 3) Which of the following is not part of the 9S12G128 embedded timer unit? (Points : 10)

[removed]Input capture
[removed]Output capture
[removed]Output compare
[removed]Pulse-width modulation


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)



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)

[removed]4.82 µV
[removed]4.82 mV
[removed]19.5 mV
[removed]48.2 µV


Question 4. 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)

[removed]0000 0110 0000 0101
[removed]0000 0010 0101 1101
[removed]0010 0101 1101 0000
[removed]1001 0111 0100 0000


Question 5. 5. (TCO 5) Which of the following types of analog-to-digital converters is used in the 9S12G128? (Points : 10)

[removed]Successive approximation


Question 6. 6. (TCO 6) What is required for the connection of an x86 PC serial com port RxD input with the 9S12G128 serial interface TxD output? (Points : 10)

[removed]A CMOS to TTL converter
[removed]A TTL to CMOS converter
[removed]A TTL to RS232 level shifter
[removed]A RS232 to TTL level shifter


Question 7. 7. (TCO 5) A transducer has a device signal range of 0 V to 1.25 V. 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)



Question 8. 8. (TCO 6) For asynchronous communications, 10 bits make up the data frame. With a start bit, one stop bit, and no parity bit, how many bits are set aside for the data? (Points : 10)

[removed]6 bits
[removed]7 bits
[removed]8 bits
[removed]10 bits


Question 9. 9. (TCO 6) Which data transfer rate is not a standard baud rate for the x86 PC? (Points : 10)



Question 10. 10. (TCOs 7 and 8) In programming for readability, what is meant by prologue for the main? Provide an example that includes the key elements. (Points : 15)



1. (TCO 3) To measure pulse width using input capture, the embedded timer must trigger which of the following? (Points : 10)

[removed]A rising edge followed by a falling edge
[removed]A falling edge followed by a rising edge
[removed]A rising edge followed by a rising edge
[removed]A falling edge followed by a falling edge


Question 2. 2. (TCO 3) The operation of combining two independent 9S12G128 8-bit PWM counters as a single 16-bit counter is called which of the following? (Points : 10)



Question 3. 3. (TCO 3) If an event is captured at a reading of 0x72AC, and the next event is captured at a reading of 0xAA4F, how much time has elapsed between the two events? The E-clock is 24 MHz. (Points : 10)



Question 4. 4. (TCO 4) What is the minimum number of bits required for a DAC that can span 12V with a resolution of 20 mV or less? (Points : 10)



Question 5. 5. (TCO 4) What is the resolution, in percent, of a 12-bit DAC? (Points : 10)



ECET 340(Microprocessor Interface) FINAL ,FALL 2015


15% off for this assignment.

Our Prices Start at $11.99. As Our First Client, Use Coupon Code GET15 to claim 15% Discount This Month!!

Why US?

100% Confidentiality

Information about customers is confidential and never disclosed to third parties.

Timely Delivery

No missed deadlines – 97% of assignments are completed in time.

Original Writing

We complete all papers from scratch. You can get a plagiarism report.

Money Back

If you are convinced that our writer has not followed your requirements, feel free to ask for a refund.

Need Help?