SDAA183 December   2025 CC2340R5

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
    1. 1.1 CC2340R5
    2. 1.2 Seven Segment LCD
  5. 2Hardware Setup
    1. 2.1 LCD Schematic
    2. 2.2 CC2340R5 Connection Diagram
  6. 3Running the Example
    1. 3.1 Dependencies
    2. 3.2 Loading Firmware
  7. 4Firmware Design
    1. 4.1 Code Description
    2. 4.2 Timer ISRs
      1. 4.2.1 lightUpdateHandler
      2. 4.2.2 lcdUpdateHandler
      3. 4.2.3 tempUpdateHandler
    3. 4.3 Hardware Callbacks
      1. 4.3.1 deltaNotificationFxn
      2. 4.3.2 gpioButtonFxn
  8. 5Tests and Results
  9. 6Summary
  10. 7References

LCD Schematic

The following figure depicts the resistive network that must be created in order to drive the LCD. This can be accomplished on a breadboard, protoboard, or on a PCB design. Not shown is the optional backlight which greatly helps in viewing the segments on the LCD. The multipliers (i.e. “x3” and “x7”) represent the number of times that component must be repeated for the particular “COM” or “SEG” pin.

 DRV8329A Hardware Setup Figure 2-1 DRV8329A Hardware Setup