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:10
Water at 70°f and streams enter the mixing chamber at the same mass flow rate, determine the temperature and the quality of the exiting stream. 0 psia is heated in a chamber by mixing it with saturated water vapor at 20 psia. if both streams enters the mixing chamber at the same mass flow rate, determine the temperature and the quality of the existing system.
Answers: 2
question
Engineering, 04.07.2019 18:20
The characteristic roots of a dynamic system are: 1.7920 1.8160 i, -1.7920 1.8160 i, -0.4160 what is the order of this system? what are the settling time and damping ratio of the system?
Answers: 3
question
Engineering, 04.07.2019 19:10
10 kg of co2 is initially contained at 400 kpa and 300 k. the gas constant for carbon dioxide is 189 j/lkg k) and has a specific heat ratio, k, of 1.289. isentropic expansion then occurs until the pressure is 200 kpa. a) determine the initial volume of co2 in m. b) determine the final temperature in k. c) determine the work done by the system during the expansion kl.
Answers: 2
question
Engineering, 04.07.2019 19:20
Air enters a horizontal, constant-diameter heating duct operating at steady state at 290 k, 1 bar, with a volumetric flow rate of 0.25 m°/s, and exits at 325 k, 0.95 bar. the flow area is 0.04 m2. assuming the ideal gas model with k = 1.4 for the air, determine (a) the velocity at the inlet and exit, each in m/s, and (c) the rate of heat transfer, in kw flow rate, in kg/s, (b) the mass kg 0.3
Answers: 2
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
Mathematics, 14.01.2021 01:20
question
Geography, 14.01.2021 01:20
Questions on the website: 13722359