|
Hardware Required
- MSPM0G3507 LaunchPad™ Development Kit (LP-MSPM0G3507)
- ECE445M Robot Motor board
Pin assignments
- Output: PB4 Mode4 TIMA1_C0 Left Motor, IN2, PWM low for forward, GPIO high for reverse
- Output: PB1 Mode4 TIMA1_C1 Left Motor, IN1, GPIO high for forward, PWM low for reverse
- Output: PB8 Mode4 TIMA0_C0 Right Motor, IN2, PWM low for forward, GPIO high for reverse
- Output: PB9 Mode4 TIMA0_C1 Right Motor, IN1, GPIO high for forward, PWM low for reverse
- Output: PB6 Mode7 TIMG6_C0 Steering Servo PWM high 20ms period
- Output: PA0 is red LED1, index 0 in IOMUX PINCM table
- Output: PB22 is blue LED2, index 49 in IOMUX PINCM table
- Output: PB26 is red LED2, index 56 in IOMUX PINCM table
- Output: PB27 is green LED2, index 57 in IOMUX PINCM table
- Input: PA18 is S2 positive logic switch, index 39 in IOMUX PINCM table
- Input: PB21 is S3 negative logic switch, index 48 in IOMUX PINCM table
LaunchPad Jumpers
- Remove 3.3V J101 jumper to run RTOS motor board
- A two-pin female header is required on the LaunchPad TP10(XDS_VCC) and TP9(!RSTN)
- Remove J16 J17 J18: Disconnects light sensor from the microcontroller PA22 PA27 PA26
- J4: Connects PA0 to red LED
- J5: Connects PB22 to blue LED2
- J6: Connects PB26 to red LED2
- J7: Connects PB27 to green LED2
|