The development board we use in lab has 6 LEDs, 6 push buttons, and a 3x4 keypad
ID: 2293545 • Letter: T
Question
The development board we use in lab has 6 LEDs, 6 push buttons, and a 3x4 keypad. Two of the buttons and LEDs are located on the Launchpad board (the smaller board with the MSP430, and the rest are on the larger development board.
Refer to the schematics on the Resources page on the course website for the Launchpad (p. 56), and the development board, to complete a table like the one below. Locate each device on its respective schematic: to which digital I/O pins is it connected? Is the device an input or an output? Does it require you to configure pull-up (or pull-down) resistors?
Explanation / Answer
Solution:
The status of IOs is given in the following table.
Device
Digital I/O Pins
Input or Output?
Requires pull up or pull down resistors?
4 development Board LEDs
(D1-D4)
D1 – port P6.2
D2 – port P6.1
D3 – port P6.3
D4 – port P6.4
Outputs
Pull down resistor is required.
4 development Board Buttons
(S1-S4)
S1 – port P7.0
S2 – port P3.6
S3 – port P2.2
S4 – port P7.4
Inputs
Pull Up resistor is required.
2 Launchpad LEDs
Digital Outputs
Outputs
Pull down resistor is required.
2 Launchpad User Buttons
Digital Inputs
Inputs
Pull Up resistor is required.
Device
Digital I/O Pins
Input or Output?
Requires pull up or pull down resistors?
4 development Board LEDs
(D1-D4)
D1 – port P6.2
D2 – port P6.1
D3 – port P6.3
D4 – port P6.4
Outputs
Pull down resistor is required.
4 development Board Buttons
(S1-S4)
S1 – port P7.0
S2 – port P3.6
S3 – port P2.2
S4 – port P7.4
Inputs
Pull Up resistor is required.
2 Launchpad LEDs
Digital Outputs
Outputs
Pull down resistor is required.
2 Launchpad User Buttons
Digital Inputs
Inputs
Pull Up resistor is required.