0% found this document useful (0 votes)
57 views3 pages

3 - Interrupts and IO

This document contains instructions for homework assignment 3 on interrupts and IO for an EE/CE course. It asks the student to: 1) Explain why RET is emulated but RETI is not in the context of interrupts. 2) Describe the "shared data problem" that can occur with interrupts and provide a solution to example 6.10 to prevent issues. 3) Design a capacitive touch sensor using GPIO on a MPS430 microcontroller by measuring capacitance without an ADC or DAC. The student must include a schematic, program, and discuss the fundamental limits of the solution in terms of measuring pressure, reading speed, and reading frequency for both high and low arrays of touch sensors

Uploaded by

prakash_shr
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
57 views3 pages

3 - Interrupts and IO

This document contains instructions for homework assignment 3 on interrupts and IO for an EE/CE course. It asks the student to: 1) Explain why RET is emulated but RETI is not in the context of interrupts. 2) Describe the "shared data problem" that can occur with interrupts and provide a solution to example 6.10 to prevent issues. 3) Design a capacitive touch sensor using GPIO on a MPS430 microcontroller by measuring capacitance without an ADC or DAC. The student must include a schematic, program, and discuss the fundamental limits of the solution in terms of measuring pressure, reading speed, and reading frequency for both high and low arrays of touch sensors

Uploaded by

prakash_shr
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

EE/CE 6302 Homework #3: Interrupts and IO

Name:_____________________

Student Number:_______________

1. Why is RET is an emulated instruction but RETI is not?

2. Describe shared data problem in the context of interrupts. Provide a solution for
example 6.10 in the MSP430 Text book. How could you prevent issues of this sort?

3. a) You are asked to create a capacitive touch sensor using GPIO on MPS430. For
capacitive touch sensors, you are to measure the capacitance of a sensor. Note you are
asked to do this using digital peripherals NO ADC or DAC. Describe your solution
and include schematic, programs, any information that you feel will be useful to
understand and replicate your design.

b) Describe the fundamental limits of your proposed solution. We are mostly


interested to evaluate your analytical skills.
Does your solution measure the amount of pressure applied to the sensor? How
quickly can you take the readings, i.e., from the time the sensor is touched, how long
does it take to determine the touch event? How frequently can you read from the
sensor? Can you discuss your answer in the context of both high-end and low-end
array of touch sensors? Remember, an array of touch sensors can be composed of
hundreds or thousands of sensors.

You might also like