TIDUE59A
May 2018 – September 2020
Description
Resources
Features
Applications
1
System Description
1.1
Key System Specifications
2
System Overview
2.1
Block Diagram
2.2
Design Considerations
2.3
Highlighted Products
2.3.1
CC3220
2.3.2
CC2640R2F
2.3.3
DRV8837
2.4
System Design Theory
2.4.1
CC3220S to CC2640R2F Interface
2.4.2
CC3220S to DRV8837 Interface
2.4.3
Software Architecture
2.4.4
Network Connection Management
2.4.5
Provisioning
2.4.5.1
AP Provisioning and SmartConfig™
2.4.5.2
Wi-Fi Provisioning Over BLE
2.4.6
Sending and Receiving Messages Through Cloud
2.4.6.1
Message Queue Telemetry Transport Protocol
2.4.6.2
MQTT Client Implementation
2.4.7
Over-the-Air Updates
2.4.7.1
HyperText Transfer Protocol
2.4.8
Security Enablers
2.4.8.1
Secure Boot
2.4.8.2
Secure Sockets
2.4.8.2.1
Hardware Accelerators
2.4.8.2.2
Simple Network Time Protocol
2.4.8.3
File System Security
2.4.8.3.1
Failsafe Files and Bundle Protection
2.4.9
Low-Power Consumption
3
Hardware, Software, Testing Requirements, and Test Results
3.1
Required Hardware and Software
3.1.1
Hardware
3.1.1.1
CC3220S LaunchPad™ Development Kit
3.1.1.2
CC2640R2F LaunchPad™ Development Kit
3.1.1.3
Sensor BoosterPack™ Connections (BMI160)
3.1.1.4
DRV8837EVM Modifications and Connections
3.1.1.5
Assembling EVMs
3.1.2
Software
3.1.2.1
Getting Started With Software
3.1.2.1.1
Build simple_np Application and Flash CC2640R2F
3.1.2.1.2
Use Premade UniFlash ImageCreator Project
3.1.2.1.3
Importing Project Source Files Into CCS
3.1.2.2
User Files
3.1.2.3
Run Wi-Fi® Doorlock Demo
3.1.2.3.1
Connect CC3220 to Network
3.1.2.3.2
Networking Functions
3.1.2.3.2.1
Get Current Date and Time (SNTP)
3.1.2.3.2.2
Send and Receive Messages (MQTT)
3.1.2.3.2.3
Perform Software Update Using Dropbox (OTA Update)
3.2
Testing and Results
3.2.1
Pass or Fail Tests
3.2.2
Power Measurements
3.2.3
Test Setup
3.2.3.1
CC3220S
3.2.3.2
CC2640R2F
3.2.3.3
DRV8837
3.2.4
Test Results
3.2.5
Battery Life Estimate
4
Design Files
5
Software Files
6
Related Documentation
6.1
Trademarks
7
Terminology
8
About the Author
9
Revision History
6
Related Documentation
Texas Instruments,
CC3220 SimpleLink Wi-Fi Wireless and Internet-of-Things Solution, a Single-Chip Wireless MCU
, data sheet
Texas Instruments,
CC3220 SimpleLink™ Wi-Fi® LaunchPad™ Development Kit Hardware User's Guide
Texas Instruments,
SimpleLink™ CC3120, CC3220 Wi-Fi® Internet-on-a-chip™ Solution Built-In Security Features
, application report
Texas Instruments,
CC3120, CC3220 SimpleLink™ Wi-Fi® and Internet of Things Network Processor
, user's guide
Texas Instruments,
CC2640R2F SimpleLink™ Bluetooth® low energy Wireless MCU
, data sheet
Texas Instruments,
CC2640R2 LaunchPad Quick Start Guide
, user's guide
Texas Instruments,
Measuring Bluetooth Low Energy Power Consumption
, application report
Texas Instruments,
DRV883x Low-Voltage H-Bridge Driver
, data sheet
Texas Instruments,
DRV8837EVM User's Guide
Texas Instruments,
BOOSTXL-SENSORS BoosterPack Plug-in Module Quick Start Guide
Texas Instruments,
BOOSTXL-SENSORS Sensors BoosterPack Plug-in Module
, user's guide