TIDUBQ7B April   2016  – July 2026

 

  1.   1
  2.   Description
  3.   Resources
  4.   Features
  5.   Applications
  6.   6
  7. 1 Key System Specifications
  8. 2 System Description
    1. 2.1 CC1312R SimpleLink 32-bit Arm Cortex-M4F Sub-1 GHz wireless MCU with 352kB Flashes
    2. 2.2 TMP63 ±1% 100kΩ Linear Thermistor in 0402 Package
  9. 3 System Design Theory
    1. 3.1 CC1312R as Main Application MCU
    2. 3.2 TMP63 Linear Thermistors With TLV2333 Amplifier
    3. 3.3 4-MUX 1/3 Biasing Seven-Segment LCD With 84 Segments
    4. 3.4 Segment LCD Control with GPIOs Design Description (TI Patented Design)
    5. 3.5 Generating Square LCD Waveforms Through GPIOs (TI Patented Design)
      1. 3.5.1 COM Lines Generation
        1. 3.5.1.1 Segment Lines
      2. 3.5.2 Segment Line Generation
      3. 3.5.3 Porting the GPIO Software Design to Other 4-MUX, 1/3 Bias LCDs
  10. 4 Block Diagram
  11. 5 Getting Started Hardware
    1. 5.1 TMP63 Circuitry
    2. 5.2 Capacitive Touch Area on the PCB
    3. 5.3 Battery Power
  12. 6 Getting Started Firmware
    1. 6.1 SCS Code Project
      1. 6.1.1 SCS Task CapTouchButton
      2. 6.1.2 SCS Task LCD
    2. 6.2 CCS Code Project
  13. 7 Test Data
    1. 7.1 Sensor Controller Task for CapTouch Detection
    2. 7.2 LCD
    3. 7.3 TIDA-00848 Current Consumption
  14. 8 Design Files
    1. 8.1 Schematics
    2. 8.2 Bill of Materials
    3. 8.3 PCB Layout Recommendations
      1. 8.3.1 Layout Prints
    4. 8.4 Altium Project
    5. 8.5 Gerber Files
    6. 8.6 Assembly Drawings
  15. 9 Software Files
  16. 10References
  17. 11Trademarks
  18. 12Terminology
  19. 13About the Author
  20. 14Revision History

COM Lines Generation

The square waveforms are generated using one additional signal, called BASE_PWM, and the inverted version, named BASE_PWM_N, with the help of resistor divider networks, see R30-R38 in TIDA-00848 schematic, with 1MΩ and 2MΩ, respectively. In addition, the R28 and R29 resistor divider again uses this 1/3-to-2/3 ratio, the resistor values are also 1MΩ and 2MΩ. The current flowing through the SEG_BASE_COMMON is, at worst, shared by the 21 segment lines, when all 84 LCD segments are on.

While the operation of the U2 SN74AHC1G04 inverter has been tested successfully, a significant drawback of continuous extra current flowing through the resistor network R28 and R29 was identified. Thus, the final implementation (optimized for lower power consumption) removed the inverter and repurposed the DIO_27 pin of the CC1312 as the BASE_PWM_N signal, which is simply the inverted version of the BASE_PWM. By setting the DIO_27 or BASE_PWM_N to output low state while the LCD is inactive, the current through R28 and R29 is eliminated.

The COM and Segment electrodes in any segmented LCD form at their intersection a capacitor, with the liquid crystal as dielectric matter in between them. In a 4-MUX display, one LCD segment pin is internally connected to 4 (or fewer) segments: pin segment 1 (S1) of the BTL002 connects to the 1A, 1B, 1C, and T1 segments on the display—see the left column for Pin1 in Figure 3-2. Note that and each of these segments connects to a different COM plane (COM line) to enable a time multiplexing control of each segment.

The required voltage to drive a segment LCD device has to be DC free in respect to 0 VLCD, thus after driving the common plane (COM signal) a second phase is needed with the reversed polarity, see Technical Information and Application Notes.

Thus for the BTL002 display, there must be 4 COM × 2 = 8 sub-divisions in every single frame sent to the LCD. This is shown in for the COM0 line with the fframe period; the frame rate is commonly selected between 25 frames per second (fps) for flicker-free LCD viewing and maximum of 60Hz to keep current consumption at a reasonable value.

In the TIDA-00848 source code project, the following definitions have been made:
  • Two BASE_PWM/BASE_PWM_N and four COM lines to generate the proper waveforms with minimum MCU effort
  • Eight subphases (one for driving the COM plane and segments; the next is a reversed polarity for DC free control of the LCD)
  • Segment lines need to be dynamically tri-stated, or set to output HIGH or LOW for each subphase

All these functions have been implemented in the LCD resource for the SCE module, which is running at 2MHz for lowest power consumption.