Use the following steps to configure the LPSTK-CC1352R.
- Ensure the SDK for CC13x2 (v4.30) and CC1310 (v4.10) has been
installed.
- Import and build the following
project using CCS: ‘OV_camera_design_CC1352R1_LAUNCHXL_tirtos_ccs’ available in
the software files at TIDA-010224.
- Flash the .out file generated in
the ‘Debug’ folder using Uniflash.
- To program the LPSTK-CC1352R
LaunchPad, use the debugger section of any LaunchPad (for example, CC32xx
LaunchPad): connect the RX, TX, GND terminals of the debugger LaunchPad to the
LPSTK-CC1352R LaunchPad. (Additionally, connect VSENSE to MCU supply for CC32xx
LaunchPad.)
- Optional: Place the JTAG port
connection between the debugger CC32xx LaunchPad and LPSTK CC1352R LaunchPad for
debug.
Once the previous steps are complete and
LPSTK-CC1352R LaunchPad is mounted on the camera module:
- The camera module is in standby
state on power-up. The camera module can be triggered into active mode (for
video streaming) for 30 seconds by either pressing the button (SW2) or using
external PIR trigger, or radio. After 30 seconds, the camera module will revert
back to the standby state. Refer to turn on or turn off logic
available in event handler.c for more details.
- The software also updates the
battery voltage every 5 minutes. The battery voltage can be monitored by
connecting the UART port using a terminal.
- Command sequence required
to be sent is: 0x55 0x01 x0FE 0x04
- The device will then echo
back 0x55 0x02 0xFD 0x05 0xLL 0xHH, where LL and HH is the ADC reading.
HHLL provides the voltage in mV.
- For example, 0x55 0x02
0xFD 0x05 0xFE 0x10 corresponds to measured 4.342-V battery voltage.