ZHCSJU4I November 2006 – September 2018 CC1020
PRODUCTION DATA.
The CC1020 device is configured via a simple 4-wire SPI-compatible interface (PDI, PDO, PCLK and PSEL) where the CC1020 device is the slave. There are 8-bit configuration registers, each addressed by a 7-bit address. A Read/Write bit initiates a read or write operation. A full configuration of the CC1020 device requires sending 33 data frames of 16 bits each (7 address bits, R/W bit and 8 data bits). The time needed for a full configuration depends on the PCLK frequency. With a PCLK frequency of 10 MHz the full configuration is done in less than 53 ms. Setting the device in power down mode requires sending one frame only and will in this case take less than 2 ms. All registers are also readable.
During each write-cycle, 16 bits are sent on the PDI-line. The seven most significant bits of each data frame (A6:0) are the address-bits. A6 is the MSB (Most Significant Bit) of the address and is sent as the first bit. The next bit is the R/W bit (high for write, low for read). The 8 data-bits are then transferred (D7:0). During address and data transfer the PSEL (Program Select) must be kept low. See Figure 5-4.
The timing for the programming is also shown in Figure 5-4 with reference to Table 5-1. The clocking of the data on PDI is done on the positive edge of PCLK. Data should be set up on the negative edge of PCLK by the microcontroller. When the last bit, D0, of the 8 data-bits has been loaded, the data word is loaded into the internal configuration register.
The configuration data will be retained during a programmed power down mode, but not when the power supply is turned off. The registers can be programmed in any order.
The configuration registers can also be read by the microcontroller via the same configuration interface. The seven address bits are sent first, then the R/W bit set low to initiate the data read-back. The CC1020 device then returns the data from the addressed register. PDO is used as the data output and must be configured as an input by the microcontroller. The PDO is set at the negative edge of PCLK and should be sampled at the positive edge. The read operation is illustrated in Figure 5-5.
PSEL must be set high between each read/write operation.
PARAMETER | MIN | MAX | UNIT | CONDITION | |
---|---|---|---|---|---|
FPCLK | PCLK, clock frequency | 10 | MHz | ||
TCL,min | PCLK low pulse duration | 50 | ns | The minimum time PCLK must be low. | |
TCH,min | PCLK high pulse duration | 50 | ns | The minimum time PCLK must be high. | |
TSS | PSEL setup time | 25 | ns | The minimum time PSEL must be low before positive edge of PCLK. | |
THS | PSEL hold time | 25 | ns | The minimum time PSEL must be held low after the negative edge of PCLK. | |
TSH | PSEL high time | 50 | ns | The minimum time PSEL must be high. | |
TSD | PDI setup time | 25 | ns | The minimum time data on PDI must be ready before the positive edge of PCLK. | |
THD | PDI hold time | 25 | ns | The minimum time data must be held at PDI, after the positive edge of PCLK. | |
Trise | Rise time | 100 | ns | The maximum rise time for PCLK and PSEL. | |
Tfall | Fall time | 100 | ns | The maximum fall time for PCLK and PSEL. |