26
Examples for TI-RTOS
SPRUHU4D—February 2016
MSP432 MSP-EXP432P401RLP Settings and Resources
Jumper settings:
•
Set
RXD <<
and
TXD >>
to provide UART communications via the onboard USB debugger.
•
If you use a BoosterPack with this board (
)
,
the BoosterPack fits over J1 and J5.
SPI Loopback example pin connections:
When wiring for SPI loopback, pins on a single board are wired to other pins on the same board.
Resources Used:
The following list shows which MSP_EXP432P401RLP resources are used by TI-RTOS applications.
TI-RTOS examples control which peripherals (and which ports) are used.
•
TI-RTOS Kernel (SYS/BIOS).
Uses the first general-purpose timer available and that timer's
associated interrupts. Generally, this will be Timer0_A0. The TI-RTOS Kernel manages the interrupt
controller statically without an interrupt dispatcher.
•
TI-RTOS.
— GPIO.
The GPIO driver is used on 2 onboard LEDs: LED1 (P1.0) and LED2 (P2.0) as output pins
and 2 switches S1 (P1.1) and S2 (P1.4) as inputs.
— I
2
C.
The I
2
C driver is configured on EUSCI_B0 to support various BoosterPacks.
— PWM.
The PWM driver uses the onboard RGB LED (G:P2.1 and B:P2.2). These pins are
configured for the PWM driver. While these pins can also be used by the GPIO driver, your
application's board file must ensure that the pins are not simultaneously used by the GPIO and
PWM drivers.
— SD Card.
Uses FatFs and the SDSPI driver on EUSCI_B0 without interrupts to read and write to
files.
— SPI.
The SPI driver is configured to use EUSCI_B0 and EUSCI_B1 for SPI communications.
— Serial.
The UART driver uses EUSCI_A0, which is attached to the onboard emulator to facilitate
serial communications.
— Watchdog.
The Watchdog driver example uses the Watchdog Timer A peripheral.
— WiFi.
The WiFi examples for the CC3100 use the following GPIO pins: P4.1 (enable), P3.0 (chip
select), and P2.5 as the CC3100 interrupt pin (interrupt is created for the port). The driver also
uses an SPI driver instance (EUSCI_B0) and associated DMA channels.
Master Pin (Function)
Slave Pin (Function)
P1.5 (EUSCI_B0_CLK)
P3.5 (EUSCI_B1_CLK)
P1.6 (EUSCI_B0_SIMO)
P3.6 (EUSCI_B1_SIMO)
P1.7 (EUSCI_B0_SOMI)
P3.7 (EUSCI_B1_SOMI)