Readme
Example Summary
-
Empty project using DriverLib. This example shows a basic empty project using DriverLib with just main file and SysConfig initialization.
+
Sets GPIO output based on a digital input read in a polling software loop.
Peripherals & Pin Assignments
@@ -47,16 +47,31 @@
+| GPIOA |
+PA0 |
+Open-Drain Output |
+
+
+| GPIOB |
+PB21 |
+Standard Input with internal pull-up |
+
+
| SYSCTL |
|
|
+| EVENT |
+ |
+ |
+
+
| DEBUGSS |
PA20 |
Debug Clock |
-
+
| DEBUGSS |
PA19 |
Debug Data In Out |
@@ -77,6 +92,20 @@
+| PA0 |
+GPIOA |
+PA0 |
+J27_9 |
+- PA0 is 5V tolerant open-drain so it requires pull-up
J19 1:2 Use 3.3V pull-up
J19 2:3 Use 5V pull-up
- PA0 can be connected to LED1
J4 ON Connect to LED1
J4 OFF Disconnect from LED1
|
+
+
+| PB21 |
+GPIOB |
+PB21 |
+J27_4 |
+- PB21 is connected to S2 button to GND with no external pull resistor
- Press
S2 button to connect pin to GND
- Don’t use
S2 button if not needed by application
|
+
+
| PA20 |
DEBUGSS |
SWCLK |
@@ -99,7 +128,7 @@
SysConfig allows developers to easily configure unused pins by selecting Board→Configure Unused Pins.
For more information about jumper configuration to achieve low-power using the MSPM0 LaunchPad, please visit the LP-MSPM0G3507 User’s Guide.
Example Usage
-Compile, load and run the example.
+Compile, load and run the example. Press S2 button to see LED1 toggle.