Introduction of TTC CC2640 SDK
TTC CC2640 SDK is provided by our company for TI CC2640 chip development rapid development tools. Designed to let developers no longer need to put a lot of energy in the bluetooth debugging just focus on the application of CC2640 chip function development.
TTC CC2640 SDK provides a bluetooth parameter Settings bluetooth transceiver bluetooth state data processing API but also provides a test program developers don't need to redesign the test program. Using the TTC CC2640 SDK can fit our TTC - BLE software convenient debugging data transceiver and to support data encryption to decrypt function can greatly shorten the product development cycle.
The SDK Framework
TTC CC2640R2 SDK’s construction
1、IAR simulating debugging software：IAR FOR ARM 7.7
2、burning software：TI Flash Programmer 2
3、TTC SDK installation program：TTC_BLE_CC2640_SDK v1.0.7
4、TTC SDK development toolkit：Development board(X2),TTC-XDS1100,JTAG Debug cable
5、TTC SDK developing instruction:
TTC BLE SDK CC2640 part hardware features test V1.0
TTC SDK development environment installation instruction V1.0
TTC SDK instruction V1.6
TTC XDS110 V1.1
6、TTC BLE API：
Android BLE API instruction with examples
IOS BLE API instruction with examples
1、Because the SDK is constantly updated, the latest version of the documentation please consult salesman
2、TTC offers matched learning courses to help developers get familiar faster.
The advantages of TTC CC2540 SDK
Complete bluetooth solutions: chip/firmware modules + platform + API (double platform APP) + cloud access;
Concise bluetooth parameter Settings;
Stable and reliable way of OAD upgrade;
Similar to a serial port data transceiver bluetooth interaction pattern;
Perfect the SDK documentation and comments in Chinese;
Quick start time(RTOS < 500ms);
Ultra-low power consumption characteristics of CC2640 as low as 1.5 uA sleep current, available batteries;
AES encryption to decrypt data support;
Complete bluetooth parameter validation, adaptation android and IOS(around 100 mainstream android models on the market, IOS7.0 above models fit), users don't need to worry bluetooth parameter adaptation problem;
Complete test plan, test program are included in the SDK, and users don't need to design bluetooth test program;
Form a complete set of professional testing method, the SDK package, development and debugging tools, DEMO board;
Reduce the abnormal cases caused by the bluetooth device work;
The problems TTC SDK solved
1. Bluetooth firmware
2. Double-platform Bluetooth SDK
3. CC2640 drives, existing drives as follows:
1. CC2640 has rich GPIO resources, can fulfill any developing need.
2. At most 31 GPIO resources for developers.
3. supporting several configurations, including pull-down, Open-drain, push-pull output, etc.
4. Each GPIO can be configured with interrupt function, and the interrupt mode is flexible, such as triggered by rising-edge, falling edge, or both in the same process.
5. Each GPIO can optionally map peripheral resources of the chip, like PWM output, ADC input, etc..
1. Equipped with programmable serial transmission rates generator, which can reach most to 3 Mbps.
2. Equipped with independent a 32*8 transmit buffer and a 32*12 receive buffer, which will reduce the interrupt processing actions of CPU.
3. Equipped with standard asynchronous communication bits for start, stop, and odd-even check.
4. Support CTS and RTS function
5. Use uDMA to transfer data.
6. Equipped with programmable hardware flow control.
Timer (including PWM/ timing/ input capture)
CC2640 has 8 16-bit timer, every timer can be configured to different mode.
Support programmable counting method, in addition, support more than 1 timer synchronously to apply to some special occasions.
1. CC2640 has 8 12-bit ADC channels.
2. Support 200K sampling rate.
Clock source could be set freely, including timer, I/O, pins, software, simulated comparator, and RTC.
Can collect temperature from chip’s thermal sensor, and collect voltage of power source through interior circuit to manage the battery.
Interior reference voltage support 1.3V, 1.425V, 1.43V, 1.435V, 1.44V, 1.6V, 4.3V, external reference voltage is not supported.
1. CC240’s RTC clock comes from 32Khz external crystal oscillator. It will keep counting as long as it’s powered.
2.Equipped with a 70-bit programmable counter and three general channels, which cooperates with compare register, will generate time-related notifications for application layer to implement some necessary functions.
1. IIC interface can be used to support other devices that support IIC protocol, like ROM, LCD, and many other sensors.
2. normal mode rate is 100KHz, while fast mode rate is 400KHz.
1. Four-line synchronous serial interface of clock line (SCLK), mainframe input & slave machine output line (MISO), mainframe output & slave machine input line (MISO), and chip selection line(CSN), which can support high-speed, full duplex, and synchronous communication bus.
2. Mainframe’s highest rate is 24Mbps.
3. Slave machine’s highest rate is 4Mbps.
4. With frequency , programmable and write conflict protection
1. 1ms-2863311ms, an ultra-wide range of overflow time to set, and loading value could be reset anytime.
2. When MCU is in sleep mode, watch dog’s overflow timer will lie off.
3. When program is running out, reset MCU to ensure a normal operation of devices.
1. Contain Bluetooth communication protocol of Wechat’s Airsync.
2. Automatic processing will be captured by Wechat; handshake connect with Wechat; Bluetooth subpackage data.
3. To transmit and receive data ,only need to initialize related parameters and call relevant API.
The SDK industry typical applications
Health and medical
Low frequency massager
Blood sugar and pressure gauge
Home and building automation
Smart home terminal
Sports and fitness
Smart wear equipment
Heart rate monitoring instrument
4.0 in industry
The production and manufacturing automation
Tire pressure monitoring
Method of cooperation
Provide TTC SDK Toolkit, we provide IC/output module
Development kit picture