Engineering
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.

answer
Answers: 3

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, mm016281
What difference(s) did you notice using a pneumatic circuit over hydraulic circuit. explain why the pneumatic piston stumbles when it hits an obstacle.
Answers: 2
image
Engineering, 04.07.2019 18:10, heidiburgos1own6c0
Fluids at rest possess no flow energy. a)- true b)- false
Answers: 3
image
Engineering, 04.07.2019 18:10, meganwintergirl
Afour cylinder four-stroke in-line engine has a stroke of 160mm, connecting rod length of 150mm, a reciprocating mass of 3kg and its firing order is 1-3-4-2. the spacing between cylinders is 100mm. i. show that the engine is in balance with regard to the primary inertia forces and primary 3. a and secondary inertia couples. li determine the out of balance secondary inertia force ii. propose ways of balancing this out of balance force and discuss the challenges that will arise
Answers: 3
image
Engineering, 04.07.2019 18:10, Talos02
Burgers vector is generally parallel to the dislocation line. a)-true b)-false
Answers: 2
Do you know the correct answer?
GPIO. Download and Install Driverlib first. Lab 3a: 1. #10: Use the Driverlib command to stop the W...

Questions in other subjects:

Konu
Mathematics, 20.10.2020 15:01
Konu
Geography, 20.10.2020 15:01