CC2650使用HA1.2协议栈时如何加入Sensor Controller Studio开发的传感器控制器程序?
Yue TANG:
先follow下面的例子全都做一遍,还不行再来问。例子2讲述了怎么把 SCS产生的代码加入到其他工程的方法。
http://software-dl.ti.com/lprf/simplelink_academy/overview.html
Sensor Controller Studio
LabContent
I2C Light Sensor
Bring-up and walkthrough of how to use Sensor Controller Studio and the Sensor Controller peripheral to read serial data from an I2C light sensor.Create Project from Scratch
Create a Sensor Controller Studio project from scratch that uses the ADC interface, and integrate with a blank TI-RTOS project based on the 'Empty' example.Task Creation and Control
Create a Sensor Controller Studio project with two tasks, using Time-to-Digital Converter (TDC) and ADC inputs, and learn to control and communicate with these tasks from a TI-RTOS project. Bonus tasks: Integrate project with Bluetooth LE and Proprietary RF RF protocols.
Sensor Controller – Integrate with TI-RTOS Application
Introduction
This training will show you how to create and integrate a basic Sensor Controller ADC driver with a blank TI-RTOS project. The training is expected to take about 2h to complete, and requires little knowledge about the subject, except some familiarity with embedded programming.
The ADC driver will measure an input voltage on one of the pins. To vary the input voltage applied to the pin, an external voltage source can be connected to the analog input pin. As an alternative, a jumper or wire from the LaunchPad can be used. For this training, a jumper from the LaunchPad is used to short the analog input pin with an adjacent pin.
Prerequisites
Completed materialTI-RTOS Basics Lab 1
SC Studio Basics
For bonus task:BLE Basics
Prop RF Basic RX and TXSoftware for desktop development
Code Composer Studio 6.1.3+
Sensor Controller Studio 1.3.0+
TI-RTOS 2.20.01.08+
For bonus tasks:TI BLE SDK 2.2.1
TI BLE Project Zero smart phone app
SmartRF Studio 7+Hardware
1x CC2650 or CC1350 LaunchPad
Micro-USB Cable for LaunchPad
External variable voltage source, ORWire or jumper, see Task 0
For bonus tasks:
1x CC2650 LaunchPad (for Bonus Task 1)
2x CC1350 LaunchPad (for Bonus Task 2)
QIDONG LI:
回复 Yue TANG:
例子做完了,但还不知道如何将Sensor Controller Studio生成的驱动程序如何加入到协议栈里?有没有例子,或如何加入?