WS_03

advertisement
EE319K Lecture Lec03.ppt in class worksheet
Question 1. What is a logic analyzer?
Question 2. What is the difference between white-box and black-box testing?
Question 3. What are the two states of open collector logic?
Question 4. Explain how we will use open collector logic?
Question 5. To use an I/O pin as a UART function, to what value to we set AFSEL?
Question 6. How many UART modules does the LM4F120/TM4C123 have?
Question 7. What does it mean to say the SW1 switch on the board is negative logic?
Question 8. What does it mean to say the Blue LED on the board is positive logic?
Question 9. What is the difference between functional and performance debugging?
Question 10. Explain highly intrusive, minimally intrusive and non intrusive debugging?
Question 11. Can we tell by observing a 32-bit number in R0 whether it is signed or
unsigned?
Question 12. After an addition of two unsigned numbers, the C bit is set. What does it
mean?
Question 13. After an addition of two signed numbers, the V bit is set. What does it
mean?
Question 14. After a subtraction of two unsigned numbers, the C bit is set. What does it
mean?
Question 15. After a subtraction of two signed numbers, the V bit is set. What does it
mean?
Question 16. Write assembly code to define two 32-bit variables Count and Mode.
Write C code to define two signed 32-bit variables Count and Mode.
Question 17. When does a subroutine need to save and restore LR?
Question 18. Interface a switch to Port A bit 5 using positive logic.
Question 19. Interface a switch to Port A bit 6 using negative logic.
Question 20. Interface an LED to Port A bit 7 using positive logic. The LED parameters
are 1.5V 20mA. Assume the output low voltage of a 7406 VOL is 0.5V.
Question 21. Interface an LED to Port A bit 4 using positive logic. The LED parameters
are 1.4V 2mA. Assume the microcontroller output voltage VOH is 3.2V.
Question 22. What address allows us to access just pin PA7?
Question 23. Is a diode nonlinear or linear? Is a resistor is nonlinear or linear?
Question 24. Is a diode is directional or nondirectional? Is a resistor is directional or
nondirectional?
Question 25. What electrical property determines optical brightness of an LED?
Question 26. What happens to LED as voltage increases from 2 to 25V?
Question 27. What happens to resistor as voltage increases from 2 to 25V?
Download