使用Sensor Controller Studio开发传感器控制器程序
CC2650使用HA1.2协议栈时如何加入Sensor Controller Studio开发的传感器控制器程序?
先follow下面的例子全都做一遍,还不行再来问。例子2讲述了怎么把 SCS产生的代码加入到其他工程的方法。
http://software-dl.ti.com/lprf/simplelink_academy/overview.html
Sensor Controller Studio
Lab | Content |
---|---|
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
|
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 material
- TI-RTOS Basics Lab 1
- SC Studio Basics
- For bonus task:
- BLE Basics
- Prop RF Basic RX and TX
Software 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, OR
- Wire or jumper, see Task 0
- For bonus tasks:
- 1x CC2650 LaunchPad (for Bonus Task 1)
- 2x CC1350 LaunchPad (for Bonus Task 2)
例子做完了,但还不知道如何将Sensor Controller Studio生成的驱动程序如何加入到协议栈里?有没有例子,或如何加入?