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

Another question on Engineering

question
Engineering, 04.07.2019 18:20
Avolume of 2.65 m3 of air in a rigid, insulated container fitted with a paddle wheel is initially at 264 k, 5.6 bar. the air receives 432 kj by work from the paddle wheel. assuming the ideal gas model with cv = 0.71 kj/kg • k, determine for the air the amount of entropy produced, in kj/k
Answers: 2
question
Engineering, 04.07.2019 18:20
Atank with constant volume contains 2.27 kg of a mixture of water phases (liquid-vapor). in the initial state the temperature and the quality are 127 °c and 0.6, respectively. the mixture is heated until the temperature of 160 oc is reached. illustrate the process in a t-v diagram. then, determine (1) the mass of the vapor in kg at the initial state, (2) the final pressure in kpa.
Answers: 3
question
Engineering, 04.07.2019 19:10
What is the main objective of using reheat rankine cycle?
Answers: 3
question
Engineering, 04.07.2019 19:20
The power source in a certain welding setup generates 3500w that is transferred to the low carbon steel work with a heat transfer factor of 0.85. the melting factor in the operation is 0.45. a continuous fillet weld is to be made with a cross-sectional area of 23 mm2 determine the travel speed at which the welding can be accomplished.
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
question
Biology, 20.09.2019 12:30
question
Mathematics, 20.09.2019 12:30
Questions on the website: 13722367