subject
Engineering, 12.04.2021 21:50 soma44

GPIO. Download and Install Driverlib first. Lab 3a: 1. #10: Use the Driverlib command to stop the Watchdog. 2. #16: Show a screenshot of the Register Window showing P1OUT and PIDIR after the pin has been set HIGH 3. #18: Please call me over to observe the LED turning on and off. 4 Attach commented code. Lab 3b: 5. #11: Please call me over to observe the LED turning on with S2 button press. 6. Attached commented code. Questions: 1. Lab 3a: Find the function"_delay_cycles" in your project inside "Includes/C:/ti/ccs910/tools/compil er..." in "intrinsics. h" and write out the exact function declaration line. Hint: it starts with "void." 2. How many bits are in one Port? 3. What does the PXDIR register do? Be specific. 4. Let's say we want to set Port 2, Pin 3 to an output. How would you accomplish this using the register P2DIR using a Hexadecimal command? How would you accomplish this using a Driverlib command? 5. What are Pull-Up/Pull-Down Resistors? What are they used for? Why is this important? Be specific 6. Draw a circuit schematic of how P1.1 is connected with the proper resistor (Pull-Up or Pull- Down) and how the button S2 is connected. Make sure to show where the microcontroller is in the circuit. (Hint: the answer is not in the MSP430 Design Tutorial, you will need to do some research) 7. How many ports does the MSP430F5529 have? How many bits does each port have? 8. What pins correspond to LED1, LED2, S1, S2? 9. In general, why are the Driverlib commands easier to use compared to setting P2DIR to a Hex number? 10. What is the technique used to read a pushbutton in this lab? (Not the name of the function in the code) Why is it called this? 11. What is the difference between a Global variable and a Local variable? 12. For Lab 3b, Is Pin P1.1 normally HIGH or LOW? How can you tell? What happens to P1.1 when you push the button? 13. This lab is called GPIO, General Purpose Input Output. For lab 3, what is the input and what is the output? Be specific.

ansver
Answers: 3

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, skpdancer1605
Ariver flows from north to south at 8 km/h. a boat is to cross this river from west to east at a speed of 20 km/h (speed of the boat with respect to the earth/ground). at what angle (in degrees) must the boat be pointed upstream such that it will proceed directly across the river (hint: find the speed of the boat with respect to water/river)? a 288 b. 21.8 c. 326 d. 30.2
Answers: 3
image
Engineering, 04.07.2019 18:10, lerasteidl
Determine whether or not it is possible to compress air adiabatically from k to 140 kpa and 400 k. what is the entropy change during this process?
Answers: 3
image
Engineering, 04.07.2019 18:10, aaliyah80
The drive force for diffusion is 7 fick's first law can be used to solve the non-steady state diffusion. a)-true b)-false
Answers: 1
image
Engineering, 04.07.2019 18:20, karatsgrande3772
Determine the damped natural frequencies and the steady state response of a decoupled damped forced two degrees of freedom system. 10ä1 + 2q1 20q1 10 cos t; 10q2 +4q2 + 40q2 10 cos t
Answers: 3
You know the right answer?
GPIO. Download and Install Driverlib first. Lab 3a: 1. #10: Use the Driverlib command to stop the W...

Questions in other subjects: