TIDUEZ4 May   2021

 

  1.   Description
  2.   Resources
  3.   Features
  4.   Applications
  5.   5
  6. 1System Description
  7. 2System Overview
    1. 2.1 Block Diagram
    2. 2.2 Highlighted Products
      1. 2.2.1 SimpleLink MCU
        1. 2.2.1.1 CC3235MODS
        2. 2.2.1.2 CC1352R LaunchPad
          1. 2.2.1.2.1 CC1352R
      2. 2.2.2 Power
        1. 2.2.2.1 TPS63802
        2. 2.2.2.2 TPS63900
        3. 2.2.2.3 TPS62825
        4. 2.2.2.4 TPS7A03
        5. 2.2.2.5 TPS7A20
        6. 2.2.2.6 TPS62840
        7. 2.2.2.7 TPS22919
        8. 2.2.2.8 LM66100
      3. 2.2.3 Peripherals
        1. 2.2.3.1 OPT3004
        2. 2.2.3.2 DRV8837C
        3. 2.2.3.3 TPA2011
        4. 2.2.3.4 TLV61048
      4. 2.2.4 OmniVision Video Encoder OA7000
      5. 2.2.5 OmniVision Image Sensor SP2329
      6. 2.2.6 YTOT Lens Module
    3. 2.3 Design Considerations
      1. 2.3.1  Input Power: Battery and USB
      2. 2.3.2  Power Requirements
      3. 2.3.3  Camera Wake-up and Day or Night Sensing
        1. 2.3.3.1 PIR and MSP430 Based Motion Detection Design for Low Cost and High Performance
      4. 2.3.4  Battery Gauging
      5. 2.3.5  IR LED Illumination
      6. 2.3.6  IR Cut Filter
      7. 2.3.7  Audio
      8. 2.3.8  System Operation
      9. 2.3.9  Wi-Fi and Host Subsystem
      10. 2.3.10 Firmware Control
        1. 2.3.10.1 Application Flow
  8. 3Hardware, Software, Testing Requirements, and Test Results
    1. 3.1 Hardware
    2. 3.2 Software
    3. 3.3 Setup
      1. 3.3.1 Configuration Steps for Video over Wi-Fi
      2. 3.3.2 (Optional) Flash OA7000 With Latest Firmware or Stream Video Over USB
      3. 3.3.3 Audio Streaming
      4. 3.3.4 LPSTK-CC1352R Configuration Steps for Camera Module
    4. 3.4 Test Results
      1. 3.4.1 Power Supply Rails and Current Consumption
      2. 3.4.2 Battery Life Calculations
      3. 3.4.3 Video Streaming
      4. 3.4.4 IR LED Drive
  9. 4Design and Documentation Support
    1. 4.1 Design Files
      1. 4.1.1 Schematics
      2. 4.1.2 Bill of Materials
    2. 4.2 Software
    3. 4.3 Support Resources
    4. 4.4 References
    5. 4.5 Trademarks
  10. 5About the Author

Application Flow

Figure 2-29 shows the application flow.

GUID-CC78DBA9-6EEA-4454-985A-AF5CE61D9CB7-low.jpgFigure 2-29 Application Flow Diagram
  1. The App Main Task initializes the network processor, initializes the RTSP library, and connects the device to a network.
  2. When the device is connected to the network, the RTSP Recv Task starts a TCP server and waits for an RTSP client to connect.
  3. When the client is connected and an RTSP packet is received, RTSP Recv Task processes the packet. If a PLAY packet is received, a message is sent to App Main Task to start the streaming. If a TEARDOWN packet is received, a message is sent to App Main Task to stop the streaming.
  4. When a start streaming message is received, the App Main Task powers on the OA7000 subsystem, downloads the OA7000 firmware, and configures the sensor. Afterward, an initialization message is sent to the Video Sender Task to start the video streaming.
  5. When the message to start video streaming is received, the Video Sender Task sends the V_ENABLE message to enable the video on the OA7000. After enabling, the Video Sender Task requests the available data info and, upon receiving valid data information, gets the video data in a loop until a stop streaming message is received.
  6. If the stop streamlining message is received by the App Main Task, a message is sent to the Video Sender Task to stop streaming and wait for an acknowledgment message. Once the acknowledgment is received, the OA7000 subsystem is powered down.

For lower current consumption, while the system is not streaming, the CC3235MODS MCU can be configured in hibernate mode to wake-up off a trigger from the CC1352R LaunchPad. An example software for the CC1352R LaunchPad is found in the design folder at TIDA-010224. This power management scheme is selected to allow for wake-up using either PIR based trigger or video-doorbell, or network trigger.

For static CC3235MODS current measurements across power modes, see the CC3235MODx and CC3235MODAx SimpleLinkā„¢ Wi-Fi CERTIFIEDā„¢ Dual-Band Wireless MCU Modules Data Sheet.