SLAA486B January   2011  – June 2019 MSP430G2452

 

  1.   EKG-Based Heart-Rate Monitor Implementation Using the MSP430G2xx LaunchPad™ Development Kit
    1.     Trademarks
    2. 1 Introduction
    3. 2 Hardware Description
      1. 2.1 Hand Detection Circuit
      2. 2.2 Analog Front End (AFE)
      3. 2.3 Pin Functionality Mapping on the LaunchPad Kit
      4. 2.4 eZ430 RF Target Header
      5. 2.5 Power Supply Setup
    4. 3 Software
    5. 4 References
  2.   A Amplifier Options
    1.     A.1 Instrumentation Amplifier Options
    2.     A.2 Operational Amplifier Options
  3.   B Wired USB Demo With Back-Channel UART
  4.   C Wireless UART Demo With the eZ430 RF Target Board
  5.   D Hardware Schematic Diagrams
  6.   Revision History

Pin Functionality Mapping on the LaunchPad Kit

The LaunchPad development kit has a 20-pin PDIP socket that a 14-pin or a 20-pin MCU can be plugged into. The MSP430G2452 MCU was used for this application and has 8KB of flash, 256 bytes of RAM, a Timer_A3, and an 8-channel ADC10 [10]. The pin mapping on the LaunchPad kit is designed to match the pinout of the MSP430G2xx family of devices.

Table 1 and Table 2 show the pin functionality mapping for the left and right header pins, respectively, on the LanchPad kit.

Table 1. Pin Functionality Mapping – Left Header

Port or Pin Name Signal Name Description
VCC VDD Power (VDD) for the MSP430
P1.0 (LED1) LED_RED Indicates bad contact
P1.1 (TXD) UART_TXD UART transmit (TX) line
P1.2 (RXD) UART_RXD UART receive (RX) line
P1.3 (S2) P1_3 (SW2) Push button switch
P1.4 EKG Input to the ADC to sample filtered and amplified EKG signal
P1.5 HAND_LEFT Input to the ADC to sample hand-detection circuit signal
P2.0 N/A (1) N/A (1)
P2.1 N/A (1) N/A (1)
P2.2 N/A (1) N/A (1)
Not used in this application.

Table 2. Pin Functionality Mapping – Right Header

Port or Pin Name Signal Name Description
GND GND Ground (GND) for the MSP430
XIN P2_6 VDD for hand detection circuit
XOUT SHUTDOWN Enable or disable the AFE
TEST TEST Spy-Bi-Wire programming pin for the MSP430
(S1) RST RESET (SW1) Reset switch for the MSP430 (Spy-Bi-Wire programming pin)
P1.7 P1_7 GND for hand detection circuit
(LED2) P1.6 LED_GREEN Indicates good contact
P2.5 N/A (1) N/A (1)
P2.4 N/A (1) N/A (1)
P2.3 N/A (1) N/A (1)
Not used in this application