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

Firmware Control

The software architecture for the design is described in the following sections. The software can be separated into multiple parts: core application, RTSP library, RTCP/RTP library, and OA7000 interface module. Figure 2-27 shows a block diagram of the software.

GUID-20210422-CA0I-WD2T-RS3N-NDMCWQSK2V3X-low.gif Figure 2-27 Software Block Diagram

The core application is responsible for processing the incoming request, managing the connection, querying the audio and video data from OA7000, and sending it over to the remote client using the either RTSP, Real-Time Transport Protocol (RTP), or RTP Control Protocol (RTCP).

The OA7000 library contains the implementation for communicating with the module. Functions are provided to boot up the module, download the OA7000 firmware, configure the image sensor, and get the video and audio streams from the OA7000. The CC3235MODS uses the SPI (master mode), as shown in Figure 2-28, along with two GPIOs (SYNC and RDY) to communicate with the OA7000.

GUID-20210421-CA0I-D0LZ-3QF4-VDBZL92QRS35-low.png Figure 2-28 Interface Timing Diagram

The OA7000 library provided with the package supports the following features:

  • Boot-up and initialize OA7000 module
  • Power-off OA7000
  • Configure
    • Frame rate
    • Resolution
    • Brightness
    • Contrast
    • Saturation
    • Frequency
    • Flip
    • Mode
  • Enable or disable video streaming
  • Get video stream information
  • Get video stream data

For the library API details, refer to the ov_sif_interface API document.

The RTSP is used for establishing and controlling a media session between two systems. RTSP is generally used along with RTP/RTCP for media stream delivery.

The RTSP library provided contains an implementation of the RTSP server, used for processing the RTSP client request and generating the responses to be sent to the client.

The RTP is used for delivering the media over the network. RTP is used in conjunction with the RTCP. RTCP is used to monitor the transmission statistics and quality.