1. In following diagram, explain how ODC register works. (10 points)
RD ODC enable us to read the value of odc. When the odc is 0, the open drain is close. Then the mux will choose the input from port 0 and odc register will not make any effect. When odc
Ve373 Design of Microprocessor Based System
Homework 5
Assigned: May 26, 2011 Due: June 2, 2011, at 10:00 am. The homework should be submitted electronically to SAKAI. Submission should include a word document as well as all the source codes.
1. Write C p
1. When a timer is configured in the Gated Operation Mode, why do we have to be concerned about the timing characteristics of TxCK? What are the timing requirements T2CK has to meet when it's used for Gated Mode? (10 points) Because there is setup time an
1.
In following diagram, explain how ODC register works. (10 points)
RD ODC enable us to read the value of odc. When the odc is 0, the open drain is close. Then the mux will choose the input from port 0 and odc register will not make any effect. When odc
Honours Mathematics II
Exercise Set 1
Date Due: 10:00 AM, Tuesday, the 29th of September 2008
Oce hours: Tuesdays and Thursdays, 1:00-2:00 PM and on the SAKAI system
Exercise 1. Let Z2 be the set of all pairs of integers. Dene addition and multiplication
Honours Mathematics II
Exercise Set 3
Date Due: 10:00 AM, Tuesday, the 13th of October 2008
Oce hours: Tuesdays and Thursdays, 1:00-2:00 PM and on the SAKAI system
Exercise 1.
i) Let u = 2 + 3i, v = 5 i and w = 1 + i. Calculate |u|, u + v , u v , u v ,
u
Honours Mathematics II
Exercise Set 4
Date Due: 10:00 AM, Tuesday, the 20th of October 2008
Oce hours: Tuesdays and Thursdays, 1:00-2:00 PM and on the SAKAI system
Exercise 1. Let (X, X ) and (Y, Y ) be metric spaces. We say that a function T : X Y is con
Honours Mathematics II
Exercise Set 5
Date Due: 10:00 AM, Tuesday, the 27th of October 2008
Oce hours: Tuesdays and Thursdays, 1:00-2:00 PM
and on the SAKAI system
Exercise 1.
i) Prove that f (x) = 1/x is not uniformly continuous on (0, 1].
ii) Prove that
Honours Mathematics II
Exercise Set 6
Date Due: 10:00 AM, Tuesday, the 3rd of November 2008
Oce hours: Tuesdays and Thursdays, 1:00-2:00 PM and on the SAKAI system
Exercise 1. Let f : R R be a real function.1
i) Prove that if f is even, then f is odd.
ii)
Honours Mathematics II
Exercise Set 7
Date Due: 10:00 AM, Tuesday, the 10th of November 2009
Oce hours: Tuesdays and Thursdays, 1:00-2:00 PM
and on the SAKAI system
Exercise 1. Which of the following objects dene real vector spaces? Prove your assertions!
Honours Mathematics II
Exercise Set 8
Date Due: 10:00 AM, Tuesday, the 17th of November 2009
Oce hours: Tuesdays and Thursdays, 1:00-2:00 PM
and on the SAKAI system
Exercise 1. Analyze the convergence of the following series:
22n 33n
,
53n
n=1
n+4
,
n2 3
Honours Mathematics II
Exercise Set 9
Date Due: 10:00 AM, Tuesday, November 24th, 2009
Oce hours: Tuesdays and Thursdays, 1:00-2:00 PM
and on the SAKAI system
Exercise 1. Prove that the set of functions
cfw_f : f (x) = a sin(x + b)
is a subspace of the sp
Honours Mathematics II
Exercise Set 10
Date Due: 10:00 AM, Tuesday, Descember 1st, 2009
Oce hours: Tuesdays and Thursdays, 1:00-2:00 PM and on the SAKAI system
Exercise 1. Finde a dierentiable function f : R R such that sup|f (x)| = 1 but sup|f (x)| = .
x
Honours Mathematics II
Exercise Set 11
Date Due: 10:00 AM, Tuesday, December 8th, 2009
Oce hours: Tuesdays and Thursdays, 1:00-2:00 PM
and on the SAKAI system
Exercise 1. Consider the step function f : [0, 3] R2 ,
( )
1 x=0
(0)
1
1 0<x1
( )
0
f (x) =
1<
Honours Mathematics II
Exercise Set 12
Date Due: 10:00 AM, Tuesday, December 15th, 2009
Oce hours: Tuesdays and Thursdays, 1:00-2:00 PM
and on the SAKAI system
Exercise 1. Calculate the following integrals:
1
i)
ln x dx,
tan x dx,
vii)
iii)
tan2 x dx,
0
v
Honors Mathematics
Functions of a Single Variable
Dr. Horst Hohberger
University of Michigan - Shanghai Jiaotong University
Joint Institute
Fall Term 2009
Dr. Hohberger (UM-SJTU JI)
Functions of a Single Variable
Fall 2009
1 / 543
Introduction
Dr. Hohberg
Twice As Fun: Double Differentiation
cairunze
cairunze@sjtu.edu.cn
challenger286@gmail.com
Oct. 14th 2009
We have seen rst dierential of matrices such as
A + H = A + H dA|H = H
tr(A + H ) = trA + trH d(trA)|H = trH
2
(A + H ) = A2 + AH + HA + o(H ) dA2
H
Honors Mathematics
Functions of a Single Variable
Dr. Horst Hohberger
University of Michigan - Shanghai Jiaotong University
Joint Institute
Fall Term 2009
Dr. Hohberger (UM-SJTU JI)
Functions of a Single Variable
Fall 2009
1 / 504
Introduction
Dr. Hohberg
1.
What components does a typical MCU contain? (5 points)
2. What makes an MCU different from a general-purpose microprocessor? (5 points) 3. Explain the concept of Memory-Mapped I/O. How is the concept related to SFR? (10 points) 4. How many registers do
1. Write a MIPS assembly program to generate a 1 ms delay. Assume the system clock = 80MHz. Simulate your program by using MPLAB IDE and measure the time with virtual Logic Analyzer or Stopwatch. Hint: you may use loop and "nop" instructions. (30 points)
1. Write C programs to measure the length of high level of a random input digital signal by using: a. b. External Interrupt module Input Capture module
External Interrupt module #include <p32xxxx.h> int time=0; #pragma interrupt EXI ipl7 vector 19 void EX
1. Summarize the differences between UART, SPI, and I2C communication methods in terms of advantages and disadvantages. (10 points) UART needs only 2 wires, no need to provide a complex protocol. It can contain check bit. So the reliability is rather high
Ve373 Design of Microprocessor Based System
Homework 1
Assigned: April 14, 2011 Due: April 21, 2011, by 10:00am The homework should be submitted electronically
1. What components does a typical MCU contain? (5 points) 2. What makes an MCU different from a
Ve373 Design of Microprocessor Based System
Homework 2
Assigned: April 21, 2011 Due:April 28, 2011, at 10:00 am. The homework should be submitted electronically to SAKAI. Submission should include a word document as well as all the source codes.
1. Write
Ve373 Design of Microprocessor Based System
Homework 3
Assigned: April 28, 2011 Due: May 5, 2011, at 10:00 am. The homework should be submitted electronically to SAKAI. Submission should include a word document as well as all the source codes.
1. In follo
Ve373 Design of Microprocessor Based System
Homework 4
Assigned: May 5, 2011 Due: May 12, 2011, at 10:00 am. The homework should be submitted electronically to SAKAI. Submission should include a word document as well as all the source codes.
1. When a tim
Ve373 Design of Microprocessor Based System
Homework 6
Assigned: June 9, 2011 Due: June 16, 2011, at 10:00 am. The homework should be submitted electronically to SAKAI. Submission should include a word document as well as all the source codes.
1. Summariz
1. #include <p32xxxx.h> .global main /*define all global symbols here*/ /* * main(). This is where the PIC32 start-up code will jump to after initial * set-up. */ .text .ent main /*directive that marks symbol 'main' as function*/ main: add $t0, $zero, $ze
1. In following diagram, explain how ODC register works. (10 points)
RD ODC enable us to read the value of odc. When the odc is 0, the open drain is close. Then the mux will choose the input from port 0 and odc register will not make any effect. When odc