This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

cc2540, radio frequence control

Other Parts Discussed in Thread: CC2540, CC2541

Hello.

I have a question about cc2540's radio frequence.

cc2540's fq. channel is 3 advertise ch. & 37 data ch.

Q1)

when advertise state, cc2540 used a 3 advertise ch.

But, can i use only 1 channel? Can i set ch?

Q2)

When connectted state, is cc2540's fq change(hopping?)?

Can i set it to fix?

%swru191

I read below.

25.5 Frequency and Channel Programming
For normal transmit and receive tasks, the carrier frequency is set by using the PRF_CHAN.FREQ register.
The carrier frequency is 2379 + n MHz, where n is the value of this register, and n can be from 0 to 116.
This gives a frequency range from 2379 MHz to 2495 MHz. Note that this frequency range extends
beyond the ISM band.
If PRF_CHAN.FREQ is set to 127, and for the RX and TX test commands, the frequency must be
programmed directly in hardware registers. In this case, the synthesizer frequency is set by programming
the 7-bit frequency word located in FREQCTRL.FREQ[6:0]. The synthesizer frequency is given by
2379 + n MHz, where n is the value of FREQCTRL.FREQ[6:0], and is programmable in 1-MHz steps.
The device supports synthesizer frequencies in the range from 2379 MHz to 2495 MHz. The usable
settings for FREQ[6:0] is consequently 0 to 116.

 

Is it only about cc2541? or Can i adjust to cc2540?

Please someone help me (with example code(frequence control))

 

thank you for read.