Fundamentals for Building MCU and GPIO Debugging Capability
This lab presents fundamentals for building a prototype board with two essential components, a power unit and CPU module, thereby setting the stage of subsequent labs towards designing a microprocessor system.
The two objectives for CPU output and input are attained. The former establishes LPC1769 debugging capability by configuring and testing CPU GPIO outputs to turn ON/OFF two LEDs. The latter, continued by configuring and testing CPU GPIO input by enable a pin to read logic “1” and “0” using a toggle switch.
-
Generate Technical Specifications
-
Consult datasheets for Electrical Characteristics and pin configurations
-
Develop schematics for the circuit design
-
Physical implementation through wire wrapping and soldering techniques.
-
Refer to attached diagrams if you decided to use this setup.
Resistor-LED KVL circuit equation: V_cc = I_led + RV_led
Resistance to limit current through LED: R = (V_cc - V_led) / I_led
Ohm's Law ;) V = IR.
-
LCP1769 CPU module soldered onto prototype board with power unit
-
LPCExpresso IDE to program the device
-
LEDs, IN4003 DIODE
LCP17xx.h and other header files are provided through NPX and the lab. Refer to guide "Bringing Up LPCXpresso For Ubuntu Linux OS"