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
During a steady flow process, the change of energy with respect to time is zero. a)- true b)- false
Answers: 2
question
Engineering, 04.07.2019 18:10
Items are similar to the free issue items, but their access is limited. (clo5) a)-bin stock items free issue b)-bin stock controlled issue c)-critical or insurance spares d)-rebuildable spares e)-consumables
Answers: 1
question
Engineering, 04.07.2019 18:10
Which of the following refers to refers to how well the control system responds to sudden changes in the system. a)-transient regulation b)- distributed regulation c)-constant regulation d)-steady-state regulation
Answers: 1
question
Engineering, 04.07.2019 18:20
Agas mixture consists of 8 kmol of h2 and 2 kmol of n2. determine the mass of each gas and the apparent gas constant of the mixture.
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
Chemistry, 05.11.2020 01:00
question
Mathematics, 05.11.2020 01:00
Questions on the website: 13722362