中国电子技术网

设为首页 网站地图 加入收藏

 

[原创] TI CC2640R2F电池供电智能锁参考设计TIDC-01005

关键词:ARM Cortex-M3 MCU 家庭和建筑物自动化 工业控制 医疗电子 运动和健身

时间:2018-07-02 11:25:32       作者:TI       来源:中电网

TI公司的CC2640R2F是SimpleLink™ Bluetooth®低功耗无线MCU,包括32位ARM® Cortex®-M3核的主处理器,工作频率48MHz,以及包括超低功耗传感器控制器在内的丰富外设,工作电压1.8 - 3.8 V,极好的接收灵敏度(–97 dBm forBLE),选择性和阻隔性,可编输出功率高达+5dBm,单端或差分RF接口,目标于蓝牙4.2和蓝牙5.0低功耗应用,包括家庭和建筑物自动化,工业应用,零售,健身和医疗,运动和健身以及HID等.本文介绍了CC2640R2F主要特性,框图,以及智能锁参考设计TIDC-01005主要特性,框图和云连接图,以及CC2640R2F LaunchPad™电路图,材料清单和PCB设计图.

The CC2640R2F device is a wireless microcontroller (MCU) targeting Bluetooth® 4.2 and Bluetooth 5 lowenergyapplications.The device is a member of the SimpleLink™ ultra-low power CC26xx family of cost-effective, 2.4-GHz RFdevices. Very low active RF and MCU current and low-power mode current consumption provide excellentbattery lifetime and allow for operation on small coin cell batteries and in energy-harvesting applications.

The SimpleLink Bluetooth low energy CC2640R2F device contains a 32-bit ARM® Cortex®-M3 core thatruns at 48 MHz as the main processor and a rich peripheral feature set that includes a unique ultra-lowpower sensor controller. This sensor controller is ideal for interfacing external sensors and for collectinganalog and digital data autonomously while the rest of the system is in sleep mode. Thus, the CC2640R2Fdevice is great for a wide range of applications where long battery lifetime, small form factor, and ease ofuse is important.

The power and clock management and radio systems of the CC2640R2F wireless MCU require specificconfiguration and handling by software to operate correctly, which has been implemented in the TI-RTOS.

TI recommends using this software framework for all application development on the device. The completeTI-RTOS and device drivers are offered in source code free of charge from www.ti.com.

Bluetooth low energy controller and host libraries are embedded in ROM and run partly on an ARM®Cortex®-M0 processor. This architecture improves overall system performance and power consumptionand frees up significant amounts of flash memory for the application.

CC2640R2F主要特性:

• Microcontroller
– Powerful ARM® Cortex®-M3
– EEMBC CoreMark® Score: 142
– Up to 48-MHz Clock Speed
– 275KB of Nonvolatile Memory Including 128KBof In-System Programmable Flash
– Up to 28KB of System SRAM, of Which 20KB isUltra-Low Leakage SRAM
– 8KB of SRAM for Cache or System RAM Use
– 2-Pin cJTAG and JTAG Debugging
– Supports Over-The-Air Upgrade (OTA)
• Ultra-Low Power Sensor Controller
– Can Run Autonomous From the Rest of theSystem
– 16-Bit Architecture
– 2KB of Ultra-Low Leakage SRAM for Code andData
• Efficient Code Size Architecture, Placing Drivers,TI-RTOS, and Bluetooth® Software in ROM toMake More Flash Available for the Application
• RoHS-Compliant Packages
– 2.7-mm × 2.7-mm YFV DSBGA34 (14 GPIOs)
– 4-mm × 4-mm RSM VQFN32 (10 GPIOs)
– 5-mm × 5-mm RHB VQFN32 (15 GPIOs)
– 7-mm × 7-mm RGZ VQFN48 (31 GPIOs)
• Peripherals
– All Digital Peripheral Pins Can Be Routed toAny GPIO
– Four General-Purpose Timer Modules(Eight 16-Bit or Four 32-Bit Timers, PWM Each)
– 12-Bit ADC, 200-ksamples/s, 8-Channel AnalogMUX
– Continuous Time Comparator
– Ultra-Low-Power Analog Comparator
– Programmable Current Source
– UART
– 2× SSI (SPI, MICROWIRE, TI)
– I2C
– I2S
– Real-Time Clock (RTC)
– AES-128 Security Module
– True Random Number Generator (TRNG)
– 10, 14, 15, or 31 GPIOs, Depending onPackage Option
– Support for Eight Capacitive-Sensing Buttons
– Integrated Temperature Sensor
• External System
– On-Chip internal DC-DC Converter
– Very Few External Components
– Seamless Integration With the SimpleLink™CC2590 and CC2592 Range Extenders
– Pin Compatible With the SimpleLink CC13xx in4-mm × 4-mm and 5-mm × 5-mm VQFN Packages
• Low Power
– Wide Supply Voltage Range
– Normal Operation: 1.8 to 3.8 V
– External Regulator Mode: 1.7 to 1.95 V
– Active-Mode RX: 5.9 mA
– Active-Mode TX at 0 dBm: 6.1 mA
– Active-Mode TX at +5 dBm: 9.1 mA
– Active-Mode MCU: 61 μA/MHz
– Active-Mode MCU: 48.5 CoreMark/mA
– Active-Mode Sensor Controller:0.4mA + 8.2 μA/MHz
– Standby: 1.1 μA (RTC Running and RAM/CPURetention)
– Shutdown: 100 nA (Wake Up on ExternalEvents)
• RF Section
– 2.4-GHz RF Transceiver Compatible WithBluetooth low energy (BLE) 4.2 and 5
Specifications
– Excellent Receiver Sensitivity (–97 dBm forBLE), Selectivity, and Blocking Performance
– Link Budget of 102 dB for BLE
– Programmable Output Power up to +5 dBm
– Single-Ended or Differential RF Interface
– Suitable for Systems Targeting Compliance WithWorldwide Radio Frequency Regulations
– ETSI EN 300 328 (Europe)
– EN 300 440 Class 2 (Europe)
– FCC CFR47 Part 15 (US)
– ARIB STD-T66 (Japan)
• Tools and Development Environment
– Full-Feature Development Kits
– Multiple Reference Designs
– SmartRF™ Tools Portfolio
– Sensor Controller Studio
– IAR Embedded Workbench® for ARM
– Code Composer Studio™
– CCS Cloud

CC2640R2F应用:

• Home and Building Automation
– Connected Appliances
– Lighting
– Locks
– Gateways
– Security Systems
• Industrial
– Logistics
– Production and Manufacturing Automation
– Asset Tracking and Management
– HMI and Remote Display
– Access Control
• Retail
– Beacons
– Advertising
– ESL and Price Tags
– Point of Sales and Payment Systems
• Health and Medical
– Thermometers
– SpO2
– Blood Glucose and Pressure Meters
– Weight Scales
– Hearing Aids
• Sports and Fitness
– Activity Monitors and Fitness Trackers
– Heart Rate Monitors
– Running and Biking Sensors
– Sports Watches
– Gym Equipment
– Team Sports Equipment
• HID
– Voice Remote Controls
– Gaming
– Keyboards and Mice

图1.CC2640R2F框图

智能锁参考设计TIDC-01005

Battery-Powered, Smart-Lock Reference Design WithCloud Connectivity Using SimpleLink™ Wi-Fi®Wireless, battery-powered smart locks are changingthe way customers control access to homes andbuildings. The desire to eliminate the need for physicalkeys, control a lock from anywhere, and getnotifications when an entry point is locked or unlockedis driving the demand for smart locks with Internetconnectivity. This design demonstrates howSimpleLink™ Wi-Fi® enables the development ofbattery-powered smart locks with integrated Wi-Fi fordirect Internet connectivity.

This reference design demonstrates how to create a battery-powered, electronic smart lock with integratedWi-Fi. The design demonstrates how the SimpleLink Wi-Fi CC3220S wireless MCU (SoC) can be used asthe main system controller and network processor to create a highly integrated design. The TIDC-01005reference design combines the CC3220S with a DRV8837, 1.8-A, low-voltage, brushed DC motor driver,to form the core of a Wi-Fi enabled electronic smart lock design. The design also features the SimpleLink Bluetooth® low energy CC2640R2F wireless MCU to demonstrate Wi-Fi provisioning over BLE. Thedesign leverages LaunchPad™ Development kits and the DRV8837EVM, which makes it easy toreproduce and evaluate. The software for the TIDC-01005 is based on the SimpleLink SDK to enablemaximum portability within the SimpleLink Platform.

The TIDC-01005 can be connected to a Wi-Fi access point (AP) using either the SimpleLink SDK Exploreror SimpleLink Wi-Fi Starter Pro mobile application. When connected to the AP, the design establishes asecure connection to the cloud, which lets the user remotely control and monitor the state of the locksystem. Integrating Wi-Fi into the lock eliminates the need for the user to have a wireless bridge toconnect the system to their Wi-Fi network and IoT ecosystem. In addition to demonstrating remote accessto the lock system, the TIDC-01005 design also demonstrates how the CC3220S can be used toimplement a fast OTA software update for the lock, while demonstrating the use of multiple CC3220Ssecurity enablers.

The two main design considerations for the TIDC-01005 were low-power capability and integrated securityfeatures. The ability to support a Wi-Fi connection with very low-power is critical for Wi-Fi-enabledelectronic smart locks, because they are often battery powered. Additionally, many security features mustbe supported by an electronic smart-lock design for it to be robust and function as a reliable component inan access control system. The TIDC-01005 demonstrates how to achieve very low-current consumptionwith the CC3220S when creating a system that is always connected to the network. The design alsodemonstrates the following key security features:

• Secure boot of application code
• AP provisioning using WPA2 authentication and HTTPS
• Wi-Fi provisioning over BLE, with secure simple pairing
• Secure socket connections to the cloud for messaging and OTA updates
• OTA update using multiple security enablers:
– File integrity check
– Signature verification
– Failsafe files
– Bundle protection
Many of the features demonstrated in the TIDC-01005 application are based on the networking applicationlibraries available in the SimpleLink SDK, including SNTP, MQTT, and HTTP. These protocols and thefeatures they are used to implement in the software are applicable to many other building automationsystems that integrate Wi-Fi connectivity. In particular, multiple aspects of the TIDC-01005 design mayalso apply to door keypad and reader designs.

智能锁参考设计TIDC-01005主要特性:

• 1.26 Years of Estimated Battery Life, Using FourAA Batteries While Always Connected
• Direct Connection to Cloud, to Enable RemoteMonitoring and Control
• Integrated Wi-Fi Radio, Network Processor, andMCU, for Optimized Design WithLow-PowerConsumption
• Multiple Wi-Fi Provisioning Methods – BLE, AP,and SmartConfig™
• Wide Range of Built-in Security FeaturesNecessary for Secure, Cloud-Connected
Applications
– Secure Boot of MCU Image
– Internal HTTPS Server for AP Provisioning
– MQTT Over TLS With Eclipse Internet of Things(IoT) Broker
– Secure Over the Air (OTA) Using Dropbox™
– 128-Bit, Unique Device ID
• Motor Driver With Integrated FETs, Enabling EasyDesign and Small Solution Size With MinimalDiscretes

智能锁参考设计TIDC-01005应用:

• Electronic Smart Lock
• Door Keypads and Readers

图2.智能锁参考设计TIDC-01005框图

图3.采用SimpleLink™ Wi-Fi®板的智能锁参考设计TIDC-01005云连接图


图4.CC2640R2F LaunchPad™配置图

图5.CC2640R2F LaunchPad™电路图(1)

图6.CC2640R2F LaunchPad™电路图(2)

图7.CC2640R2F LaunchPad™电路图(3)

图8.CC2640R2F LaunchPad™电路图(4)

图9.CC2640R2F LaunchPad™电路图(5)

图10.CC2640R2F LaunchPad™ PCB设计图(1)

图11.CC2640R2F LaunchPad™ PCB设计图(2)

图12.CC2640R2F LaunchPad™ PCB设计图(3)

图13.CC2640R2F LaunchPad™ PCB设计图(4)

图14.CC2640R2F LaunchPad™ PCB设计图(5)

图15.CC2640R2F LaunchPad™ PCB设计图(6)

图16.CC2640R2F LaunchPad™ PCB设计图(7)

图17.CC2640R2F LaunchPad™ PCB设计图(8)

图18.BOOSTXL-SENSORS传感器板电路图
BOOSTXL-SENSORS传感器板材料清单:

CC2640R2F LaunchPad™板材料清单见:
CC2640R2F LaunchPad™板材料清单.xls
详情请见:
http://www.ti.com/lit/ds/symlink/cc2640r2f.pdf
http://www.ti.com/lit/ug/tidue59/tidue59.pdf
cc2640r2f.pdf
tidue59.pdf
swrc335(TI).zip

 

猜你喜欢