The main problems and solutions that may be encountered during the CC1310 development process are summarized as follows:
I. Introduction of CC1310
1, TI mainstream sub-1g ultra-low power Wireless Transceiver Integrated module.
2. based on Ti-rtos MCU with integrated ARM cotex-m3 system and Rf-core.
3, the sleep current 2ua,rx mode current of about 5.5mA, can realize the long-distance stable communication Group network.
Second, the main development tools
1, CCS: It is best to install the latest high version, or install IAR can also.
2, SMARTRF Studio 7:pc end Test Tool (can test receive, send, noise test, carrier RF test, etc.), RF parameter settings (can be exported RF parameters into the code).
3, Flash Programmer 2:pc end firmware burning tool (can be burned ". Hex" or ". Bin" format firmware); You can also burn with Uniflash or CCS.
4, the SDK: best to TI official website Download the latest version of the SDK for compiling, the old SDK part of the functionality of the bug.
Three, RF parameter configuration
1. Selection of frequency bands. As the mainstream RF module of SUB-1G, there are many bands available. Different countries and regions have specific requirements for the band, in an allowable frequency band we select a frequency point or multiple frequency points to communicate.
2, rate selection. The rate will affect the speed of data transmission, such as the set rate of 50kHz, then send a 32Bytes packet about 10ms of time. The longer the contract time, the greater the power consumption of the contract.
3, transmitting power. The transmitting power affects the transmitting distance, and the general selection is set to the maximum value. CC1310 maximum transmit power up to 14dBm. Under the ideal test environment, the stable communication distance can reach 1km.
4, modulation mode. Generally choose the default GFSK, compatible with GFSK, FSK and 2-GFSK modulation mode.
5, sync parameters. Sync needs to be unified to determine a value. When sending and receiving signals, it is necessary to verify this value in order for the interrupt to start receiving packets, and sync values will automatically filter out the packets.
Four, working mode switch
1, TX mode. The current in the TX mode can be up to dozens of MA in size.
2, Rx mode. The current in the receiving mode is about 5.5mA.
3, low power monitoring mode. Monitoring mode A cycle consists of RX and idle two states, the RX minimum time can be up to 3ms. The average current is calculated based on the cycle size.
4, launch wake-up packet mode. Low-Power monitoring mode, the need to use the launch wake-up packets to wake up to work, so corresponding to the transmission wake-up packet mode.
5, carrier emission mode. The carrier emission is mainly used for the RF transmitting power and transmitting frequency of the test module during the measurement.
6, above these several modes can switch freely, completes the networking function.
Five, online upgrade function
1, can be OTA wireless upgrade, the latest SDK has a demo routine. But this upgrade mechanism may require a little more optimization.
2, the serial port local upgrade. Can be based on the principle of OTA upgrade routines, their own porting of useful parts, modified to use a host computer serial connection CC1310 implementation upgrade.