TIDUF81 November   2024 AFE4960 , CC2674R10 , TMP119

 

  1.   1
  2.   Description
  3.   Resources
  4.   Features
  5.   Applications
  6.   6
  7. 1System Description
    1. 1.1 Introduction to the Parameters Measured With TIDA-010270
    2. 1.2 System Introduction and Application
    3. 1.3 System Design Features
    4. 1.4 Key System Specification
  8. 2System Overview
    1. 2.1 Block Diagram
    2. 2.2 Design Considerations
      1. 2.2.1 AFE4960 and Power Supply
      2. 2.2.2 CC2674R10 Bluetooth® Low Energy Microcontroller
      3. 2.2.3 ECG and Respiration Lead Configuration
      4. 2.2.4 Temperature Sensor
      5. 2.2.5 Selecting Power Supplies
      6. 2.2.6 Power Supplies
      7. 2.2.7 LED Indicator
    3. 2.3 Highlighted Products
      1. 2.3.1 AFE4960
      2. 2.3.2 CC2674R10
      3. 2.3.3 TMP119
      4. 2.3.4 TPD1E01B04
      5. 2.3.5 TPS628437
      6. 2.3.6 TPS61299
    4. 2.4 Battery Life Calculations
      1. 2.4.1 AFE4960 Current Consumption
      2. 2.4.2 CC2674R10 Current Consumption
      3. 2.4.3 On-State Current Calculations
  9. 3Hardware, Software, Testing Requirements, and Test Results
    1. 3.1 Hardware Requirements
      1. 3.1.1 Introduction for Bluetooth® Low Energy Board
      2. 3.1.2 Sensor Board Introduction
      3. 3.1.3 Board Connection and XDS110 Interface
    2. 3.2 Software Requirements
      1. 3.2.1 Biosensing Demonstration Loading With Code Composer Studio (CCS) IDE
      2. 3.2.2 SimpleLink MCU Connect
      3. 3.2.3 AFE4960 Configuration
      4. 3.2.4 Biosensing Demonstration Flow Chart for CC2674R10
    3. 3.3 Test Setup
    4. 3.4 Test Results
      1. 3.4.1 Real-Time ECG and Respiration Measurement
      2. 3.4.2 DC Lead-Off Detection
      3. 3.4.3 DC/DC Converters Waveforms
      4. 3.4.4 Power Consumption Test
  10. 4Design and Documentation Support
    1. 4.1 Design Files
      1. 4.1.1 Schematics
      2. 4.1.2 BOM
    2. 4.2 PCB Layout Recommendations
      1. 4.2.1 Layout for the Main Board
      2. 4.2.2 Layout for the Sensor Board
    3. 4.3 Tools and Software
    4. 4.4 Documentation Support
    5. 4.5 Support Resources
    6. 4.6 Trademarks
  11. 5About the Author

Biosensing Demonstration Flow Chart for CC2674R10

Figure 3-11 shows the flow chart of the biosensing demonstration for CC2674R10. The program is based on TI Real Time Operation System (TIRTOS7). Thus, the microcontroller maintains several tasks and performs the task according to the priority level.

There are three tasks established in the biosensing demonstration program. BLE_stack_task is the basic function for Bluetooth® Low Energy setup, connection, transmitting and receiving data.

Project_zero_task is the custom task for the, Generic Access Profile (GAP), Generic Attribute Profile (GATT), and GATT Specification Supplement (GSS) configuration. Also, temperature sensor and accelerator are initialized in this task. A timer is set to read these two sensors every 1s and send the notification out.

AFE4960_read_task is programed to initialize the device and wait for the interrupt from the ADC_RDY pin and the GPIO2 pin. Once the FIFO_RDY interrupt occurs, CC2674R10 reads all the data out from the FIFO by SPI. To avoid the ECG data mismatching, the length of the data equals to the FIFO length set by the REG_WM_FIFO register. After the SPI read, the Bluetooth® Low Energy transmitting task is awakened to send the ECG data out by notification.

In this design, the FIFO length is set to be 108, which are 432 Bytes read out during 2 FIFO_RDY interrupts. Since the maximum transmission unit for Bluetooth® Low Energy 5.3 is 255bytes, the notification API is called twice to send all the data out. After sending the data, the AFE4960_read_task is blocked to wait for the next interrupt from FIFO_RDY.

TIDA-010270 Biosensing Demonstration Flow ChartFigure 3-11 Biosensing Demonstration Flow Chart