Design and application of wireless transmission circuit based on TRF4900

Publisher:创新脑细胞Latest update time:2012-07-20 Source: 单片机及嵌入式系统应用Keywords:TRF4900 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1 Wireless digital transmission circuit

The wireless digital transmission circuit uses the wireless transmission chip TRF4900. TRF4900 is a monolithic, low-cost, fully functional multi-channel FSK transmitter produced by TI. The chip can meet the linear (FM) or digital (FSK) transmission applications in the European 868 MHz band and the North American 915 MHz ISM band. The monolithic transmitter chip has an operating voltage of 2.2 to 3.6 V, a typical transmission power of 7 dBm, and low power consumption. The 24-bit direct digital synthesizer has an 11-bit DAC, and the synthesizer has a channel space of about 230 Hz, allowing narrowband and broadband applications. Two fully programmable operating modes, mode 0 and mode 1, allow very fast conversion between two pre-programmed settings (such as transmission frequency 0 or transmission frequency 1). The chip integrates a voltage-controlled oscillator (VCO), a phase-locked loop (PLL) and a reference oscillator, and only requires very few external components to form a complete transmission circuit. TRF4900 is connected to the TI MSP430 microcontroller via a serial interface. Each functional block of the transmitter can be programmed through the serial interface to set its function. The TRF4900 application circuit is shown in Figure 1. 2 Connection circuit with microcontroller



The TRF4900 connects to TI's MSP430 microcontroller via a serial interface, as shown in Figure 2.

Pin 23 (LOCKDET) of the TRF4900 is the PLL phase lock detection output, valid as high. When LOCKDET = 1, the PLL is locked. Pin 11 (MODE), the mode selection input, the device's functions in mode 0 and mode 1 can be programmed through the A, B, C, D words of the serial control interface. Pin 12 (), sleep control, is valid at low level. When = 0, the contents of the control register are still valid and can be programmed through the serial control interface. Pin 14 (TX-DATA), digital modulation input, is FSK/FM modulation of the carrier, valid at high level.

The serial control interface is a 3-wire unidirectional serial bus (CLOCK serial interface clock signal, DATA serial interface data signal, STROBE serial interface selection signal) used to program the TRF4900. The registers inside the interface contain all user programmable variables, including DDS frequency settings, as well as all control registers. The timing of the serial interface is shown in Figure 3.

At each rising edge of the CLOCK signal, the logic value on the DATA pin is written into the 24-bit shift register. Set the STROBE terminal to a high level and the programmed information is loaded into the selected latch. When the STROBE signal is high, the DATA and CLOCK lines must be low. Therefore, the STROBE and CLOCK signals are asynchronous. The serial interface can be programmed to work in an active state or a sleep state (standby mode). [page] 3 TRF4900 settings

The direct digital synthesizer DDS of TRF4900 is based on the digital method of generating sine wave signals. DDS consists of an accumulator, a sine wave lookup table, a digital/analog converter, and a low-pass filter. The clock of all digital function blocks is provided by the reference oscillator. DDS uses an N-bit adder to count from 0 to 2N and generate a digital step wave according to the data conversion specification in the frequency register to construct an analog sine wave. Each digit of the output register of the N-bit counter is used to select the corresponding sine wave value output in the sine wave lookup table. After the digital/analog conversion, the low-pass filter is used to suppress unwanted parasitic responses. The analog output signal can be used as a reference input signal for the PLL. The PLL circuit multiplies the reference frequency according to a predetermined coefficient.

The frequency fref of the reference oscillator is the sampling frequency of the DDS, and also determines the maximum DDS output frequency. Together with the number of bits of the accumulator, the frequency resolution of the DDS can be calculated. The minimum frequency step of the TRF4900 can be calculated by the following formula:

Δf=N×(fref/2 24)

The 24-bit accumulator can be programmed through two 22-bit frequency setting registers (the A word determines the frequency of mode 0 and the B word determines the frequency of mode 1), and the two MSB bits of the registers are set to 0. Therefore, the maximum bit weight of the DDS system is reduced to 1/8, as shown in Figure 4.

This bit weight corresponds to the VCO output frequency (fref/8) × N. Depending on the logic level at the MODE terminal, the internal selection logic loads the DDS-0 or DDS-1 frequency into the frequency register. The VCO output frequency fout is determined by the DDS-x frequency setting (DSS-0 in the A word, DDS-1 in the B word). The VCO output frequency fout is calculated as follows:

fout=DDS_x×N×(fref/2 24)=N×[(fref×DDS_x)/2 24]

If FSK modulation is selected (MM = 0, C word, 16 bits), the 8-bit FSK frequency deviation register can be used to program the frequency deviation of 2-FSK modulation. The 8 bits of the frequency deviation register are in the 24-bit DDS frequency register, and the LSB is set to 0. The total FSK frequency deviation is calculated by the following formula:

Δf2-FSK=N×[(DEV×fref)/2 22]

Therefore, the 2-FSK frequency is set by the level on TX-DATA, calculated as follows:

fout1:TX_DATA=low=N×[(fref×DDS_x)/2 24]

fout2:TX_DATA=High=N×[fref×(DDS_x+4×DEV)]/2 24

This frequency modulated output signal is used as the reference input signal of the PLL circuit. 2-FSK modulation channel width (frequency deviation) and channel spacing are software programmable. The minimum channel width and minimum channel spacing depend on the RF system frequency design, center frequency fcenter = (fout1 + fout2)/2. When FSK is transmitted, the center frequency fcenter is considered to be the effective carrier frequency.

The phase-locked loop consists of a phase detector (PD), a frequency discriminator (PD), a charge pump, a VCO, an external loop filter, and a programmable pre-divider (N divider) in the feedback loop. When an external VCO is used, the x-VCO bit will be set to 0. The divider is programmable, and the division factor N can be set to 256 or 512 by the C word.

The power amplifier (PA) can be programmed by the two bits P0 and P1 in the D word to provide variable output power levels.


The control word of the TRF4900 is 24 bits. The first introduced bit is the most significant bit (MSB) to complete the programming of the TRF4900; four 24-bit words must be set, that is, the A, B, C, and D words must be set. Figure 5 shows the four defined control words. Tables 1, 2, and 3 describe the function of each parameter, and Table 4 shows the transmit frequency in FSK mode. [page]

Table 1 Mode 0 Control Register Description

Symbol Position of the bit Number of digits describe Internal settings after power on
Default state default value
0-PA [10-9] 2 Power amplifier mode
P1 P0
0 0 = Disable
0 1 = Attenuate 10dB, enable modulation via TX-DATA
1 0 = Attenuate 20dB, enable modulation via TX-DATA
1 1 = Attenuate 0dB, enable modulation via TX-DATA
Invalidation 00b
0-VCO [11] 1 During operation, this pin will always be enabled (1 = enabled) unless an external VCO is used. Invalidation 0b
0-PLL [12] 1 Enable PLL, 1 = enable, 0 = disable Invalidation 0b

Table 2 Mode 1 Control Register Description

Symbol Position of the bit Number of digits describe Internal settings after power on
Default state default value
1-PA [10-9] 2 Power amplifier mode
P1 P0
0 0 = Disable
0 1 = Attenuate 10dB, enable modulation via TX-DATA
1 0 = Attenuate 20dB, enable modulation via TX-DATA
1 1 = Attenuate 0dB, enable modulation via TX-DATA
Invalidation 00b
1-VCO [11] 1 During operation, this pin will always be enabled (1 = enabled) unless an external VCO is used. Invalidation 0b
1-PLL [12] 1 Enable PLL, 1 = enable, 0 = disable Invalidation 0b

Table 3 Auxiliary control register description

Symbol Character Position of the bit Number of digits describe Internal settings after power on
Default state default value
DDS-0 A [21-0] 22 Mode 0 DDS frequency setting 0 All 0
DDS-1 The B Word [21-0] 22 Mode 1 DDS frequency setting 0 All 0
DEV The D Word [20-13] 8 FSK frequency division register 0 All 0
APLL The C Word [20-18] 3 Acceleration factor of capture frequency
A2 A1 A0
0 0 0 =1
0 0 1 =20
0 1 1 =60

1 1 1 =140
0 000b
NPLL The C Word [17] 1 PLL division rate
0=256
1=512
256 0b
MM The C Word [16] 1
Modulation mode selection. Set the TC-DATA pin behavior for FSK data input .
0 = FSK/FM
1 = Not used
FSK mode 0b

Table 4 Transmit frequency in FSK mode (MM bit set to 0)

Pin end

Transmitting frequency

STDBY MODE TX-DATA
1 0 0 fout=fref×N×(DDS_0)/2 24
1 0 1 fout=fref×N×(DDS_0+4×DEV)/2 24
1 1 0 fout=fref×N×(DDS_1)/2 24
1 1 1 fout=fref×N×(DDS_1+4×dev)/2 24

Conclusion

The wireless digital transmission circuit composed of TRF4900 and MSP430 can be easily embedded in various measurement and control systems; it is used in instrument data acquisition systems, wireless meter reading systems, wireless data communication systems, computer telemetry and remote control systems, etc.

Keywords:TRF4900 Reference address:Design and application of wireless transmission circuit based on TRF4900

Previous article:Principle and application of Bluetooth transceiver chip RF2968
Next article:Point-to-multipoint multitasking wireless communication

Recommended ReadingLatest update time:2024-11-16 16:02

Design of Data Acquisition System Based on MSP430
       1 Introduction        Data acquisition and monitoring have become increasingly important detection technologies in scientific research and various other fields.         In many industrial measurement and control machinery, medical instruments and consumer electronic products, higher requirements are placed o
[Microcontroller]
Design of Data Acquisition System Based on MSP430
Experiment 2: MSP430 simple program design
1. Purpose of the experiment     Learn to use C language for simple programming. 2. Experimental requirements     Master writing sorting programs. 3. Experimental content (1) Design a program to sort 8 data (0-255, arbitrarily set) from small to large. (2) Display the results on the LCD monitor. 4. Refer
[Microcontroller]
Design of MSP430F448 single chip microcomputer in AC digital voltmeter
  This article describes a simple system design of an AC digital voltmeter. The system is based on MSP430F448, which integrates a 12-bit A/D converter with internal reference source, sample-and-hold, and automatic scanning features, greatly simplifying the hardware design. Because the microcontroller has rich internal
[Microcontroller]
Design of MSP430F448 single chip microcomputer in AC digital voltmeter
msp430 infrared decoding successful
#include #define CPU_F ((double)1000000)  #define delay_us(x) __delay_cycles((long)(CPU_F*(double)x/1000000.0))  #define delay_ms(x) __delay_cycles((long)(CPU_F*(double)x/1000.0)) #define IR_DIR_IN P2DIR&=~BIT0 //Set the infrared receiver P2.0 as input, #define IRIN (P2IN&BIT0) //Infrared receiver input value c
[Microcontroller]
Design of multi-probe radiation measuring instrument based on MSP430F169
  On the basis of introducing the whole system, the key issues in the instrument design are explained in detail, focusing on the principle of supplying high voltage to multiple probes through a single-chip microcomputer and the realization method of data transmission after connecting multiple probes separately, and gi
[Test Measurement]
Design of multi-probe radiation measuring instrument based on MSP430F169
MSP430 basic timer basic timer interrupt time calculation
I recently worked with 430 and was troubled by the BT timer. The BT timer is different from the ordinary timer of AVR that I have used before. The previous timer counted to FF and then generated an overflow interrupt. But the BT timer is different. The BT timer generates an interrupt when the corresponding selectio
[Microcontroller]
MSP430 basic timer basic timer interrupt time calculation
Design of Encryption Fuse for MSP430 Series Microcontroller
introduction The MSP430 series microcontroller is a 16-bit ultra-low power microcontroller launched by Texas Instruments (TI). It can operate at a voltage of 1.8 to 3.6 V and a frequency of 1 MHz, with a current consumption of 0.1 to 400 μA. In terms of computing speed, the MSP430 series microcontroller can ach
[Microcontroller]
Design of Encryption Fuse for MSP430 Series Microcontroller
TI launches MSP430AFE2xx series of metering analog front-end 16-bit MCUs
21ic News Texas Instruments (TI) announced the launch of the MSP430AFE2xx series of metering analog front-end (AFE) ultra-low-power 16-bit microcontrollers for metering and smart grid applications. The low-cost MSP430AFE series is part of TI's leading embedded processing product line, providing the industr
[Industrial Control]
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号