SWRA759 November   2022

 

  1.   Abstract
  2.   Trademarks
  3. 1Introduction
  4. 2Hardware BOM and Firmware Modification
  5. 3Firmware Compiler Environment Setup (if change or evaluate code are needed)
    1. 3.1 Hardware and Software Prepared
    2. 3.2 Hardware Connection
    3. 3.3 CCS Environment Configuration
  6. 4Upgrade Firmware of CC3235 and OA7000
    1. 4.1 Prepared Components
    2. 4.2 Upgrade CC3235 Firmware
    3. 4.3 Upgrade OA7000 Firmware
  7. 5How to Test Current and Startup Time
    1. 5.1 Prepared Components
    2. 5.2 Setup Test Environment
    3. 5.3 Start Testing

Start Testing

Power on the TIDA-010224 board. The serial tool receives a message as shown in Figure 5-1.

GUID-20221018-SS0I-Z9LK-S7Q6-LZ1QKVGM1622-low.png Figure 5-1 Board UART Output Start Page
  1. Provisioning mode.

    If there is no Wi-Fi AP connected, selecting ‘1’ makes the board enter into Hibernate (provisioning) mode for configuring AP SSID and Password into the demo board. Details are:

    1. Input ‘1’ makes the board enter hibernate.
    2. Select the video and which audio to use. It is preparing to play the video after wake-up from hibernate by the UART input. After the input is finished, the board enters into hibernate.
      GUID-20221018-SS0I-4ZPT-BLHT-7RNCJPFB7Q8W-low.png Figure 5-2 Select Video Stream Type via UART
    3. Input ‘1’ again, wake up board for provisioning, as shown in Figure 5-3.
      GUID-20221018-SS0I-7PM4-F8MH-9XHB8VJSTXWG-low.png Figure 5-3 Provisioning Status Output via UART
    4. Open “SimpleLink Wi-Fi Starter Pro” APP in cell phone.
      GUID-20221018-SS0I-KW0F-4TK9-CPQ4LV5KMDHW-low.png Figure 5-4 “SimpleLink Wi-Fi Starter Pro” Configuration Processing
    5. Click the ‘blue marked’ button.
    6. Select ‘mysimplexxx’.
    7. Select your Wi-Fi AP.
    8. Input password.
    9. Click the ‘start configuration’ button and select ‘close’ to finish provisioning. UART print as shown in Figure 5-5.
      GUID-20221018-SS0I-WBN8-ZZDK-V1CKFGTPJKVT-low.png Figure 5-5 Provisioning IP Address Acquired
    10. After provisioning, power off/on to restart demo board again. All of test functions could be continued.
  2. Hibernate mode.

    This mode is for testing board current in hibernate, entering provisioning if there is no recognized Wi-Fi AP and watch video stream via APP. Details are:

    After power on, input ‘1’ makes the board enter into hibernate mode. You can measure the current via 5 V power input connector. Typically, the current is about 20 µA.

    When entering hibernate mode, any UART input wakes up the board and exits hibernate. Actually, UART input is similar with GPIO trigger input. This mode is quite similar with some applications that only need buttons or alarm inputs such as PIR input to wake up the system.

    After waking up the board, it is ready to accept RTSP request. In this mode, you can run network stream APP to watch. As shown in Figure 5-6, click ‘+’ to add a new address, input rtsp address and port. For example, rtsp://192.168.0.103:554, choose UDP. Click ‘OK’(确定) to open video stream.

    GUID-20221018-SS0I-V686-KN5M-ML50WRHXPCN2-low.png Figure 5-6 RTSP Configuration
    Note: If measure current is in hibernate mode, make sure to disconnect with the JTAG cable and unplug the J1 jumper.
  3. Intermittently Connected mode.

    This mode is for the testing the board average current, which is intermittently sending status data to server and enters into hibernate. It is also woken up by any input via UART and entering into ready to accept RTSP request when it is in hibernate mode. Same as above, UART input is similar with the GPIO trigger input. This mode it is quite similar with some applications that report status and heartbeat signal to remote servers with long interval time. Details are:

    1. After power on, input ‘2’ makes the board enter into intermittently connected mode.
    2. Select video and which audio to use. It is preparing to play the video after wake-up from hibernate by the UART input.
    3. Input remote TCP server IP address such as 192.168.10.105.
    4. Input interval time in second such as 10.
    5. Board is woken up intermittently by RTC and sends 100 data to remote TCP sever again and again.
    6. Any UART input wakes up the board from hibernate to prepare accepting RTSP request mode.
    7. UART tool Print:
      GUID-20221018-SS0I-BX00-1KNF-ZSJWDQRM1J8R-low.png Figure 5-7 UART Printing in Intermittently Mode
    8. Net assist tool Print:
      GUID-20221018-SS0I-GFSL-RCQT-V4GZ3HZ7FR4J-low.png Figure 5-8 Net Assist Receiver Printing in Intermittently Mode

      In Net printing, a new connection is created every time. The connection is lost between sending data.

      Note: TCP server must be opened before finished configuration. If don’t receive TCP data in server, please try to close VPN or add net assist software in white list of firewall software.
  4. Always Connected with Long Sleep/with IOT mode.

    This mode is for testing board average current that is intermittently sending status data to the server and entering into LPDS. In this mode, the network connection between the test board and the Wi-Fi AP is not lost. It is also woken up by any input via UART when it is in LPDS. This mode it is quite similar with some application that only report status and heartbeat signals to remote servers, and are able to respond to server requests quickly because the connection socket is not lost in the remote server.

    Note: IOT and Long Sleep mode need AP supporting.
    1. Details are:
      1. After power on, input ‘3’ or ‘4’ will make board enter into Always Connected with Long Sleep or with IOT mode.
      2. Input beacon interval time to keep alive in AP connecting list.
      3. Select video and which audio from, it is preparing for play video after wake-up from hibernate by UART input.
      4. Input remote server IP address, such as 192.168.10.105.
      5. Input interval time of sending data in second, such as 10.
      6. Board will be woken up intermittently by RTC and send 100 data to remote TCP sever again and again.
      7. Any UART input will wakeup board from hibernate to prepare accepting RTSP request mode.
    2. UART tool print:
      GUID-20221018-SS0I-PHZG-CNRV-VHFDTJX5S63P-low.png Figure 5-9 UART Printing in Always Connecting Mode
    3. Net assist tool print:
      GUID-20221018-SS0I-XRTJ-TBM0-2JM1S6GWVFH1-low.png Figure 5-10 Net Assist Receiver Printing in Always Connecting Mode

      In Net printing, A new connection is created firstly, and it isn’t lost between sending data.

      Note: TCP server must be open before finished configuration. If you do not receive TCP data in your server, try to close VPN or add net assist software in white list of firewall software.
  5. Measure Time of Key action.

    This mode is for testing the board startup time that is from exiting hibernate to sending out the 10 frames of image. It is able to be woken up by any input via UART for testing. You can get the printing timestamp log via UART or test the wave via J13.2 pin with oscilloscope. Details are:

    1. After power on, input ‘5’ makes the board enter into Measure Time of Key action mode.
    2. Input remote server IP address such as 192.168.10.105. Then test board enters into Hibernate.
    3. Any input via UART wakes up board and send data out to remote TCP server after getting the image frame.
    GUID-20221018-SS0I-8D1J-TXKX-RRC9MTXC4KVF-low.png Figure 5-11 UART Printing in Measure Startup Mode
    GUID-20221018-SS0I-GWGF-TFRB-KMBHL32JP75H-low.png Figure 5-12 Net Assist Receiver Printing in Measure Startup Mode
    Note: The startup time is affected by WIFI connection time, especially in the first time running.