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.

CC2640R2F: Communicating with CC2592?

Part Number: CC2640R2F
Other Parts Discussed in Thread: CC2592, CC2650

Hi,

    I am doing a CC2640R2F + CC2592 Project using CC2650 + CC2592 Reference Design. I want to know how to communicate CC2640R2F to CC2592 including setting the TXPOWER. From the Schematic Diagram of CC2650 + CC2592 Reference Design, CC2650 DIO7, DIO13, DIO14 is connected to CC2592. See, below.

From the CC2592 datasheet the control logic for the pins are these below.

From the tidub71.pdf I need to configure these 3 GPIO DIO7, DIO13, DIO14 using this code below.

#include "ioc.h"
// Map RFC_GPO0 to DIO13
IOCPortConfigureSet(IOID_13, IOC_PORT_RFC_GPO0,
IOC_IOMODE_NORMAL);
// Map RFC_GPO1 to DIO7
IOCPortConfigureSet(IOID_7, IOC_PORT_RFC_GPO1,
IOC_IOMODE_NORMAL);

Then this is mentioned below:

"The settings to be programmed are 0x2F, 0x30, 0x31, 0x32 to get
RFC_GPO0, RFC_GPO1, RFC_GPO2, RFC_GPO3 respectively"\

Then this:

"DIO14 is initialized and programmed as a GPIO to provide HGM input for
CC2592. Registers configuration needed is as follows:
IOCFG7 = 0x30
IOCFG13 = 0x2F"

How exactly do I do all that? Do you have example program for CC2650-CC2592 EMK, so I can study it?

-kel

  • Thanks a lot, Yikai!

    My end application is Long Range Connectable Eddystone Beacon.

    I see at tidub71.pdf you are able to set the TXPOWER by writing to TXPOWER Register. Do I use HCI_EXT_SetTxPowerCmd() to set the TXPOWER. If I want to set TXPOWER to 22dBm, this should be the code HCI_EXT_SetTxPowerCmd(0x3F); ?



    I am going to put the CC2640R2F-CC2592 to shutdown mode. So, I am going to set HGM to 0. According to the Control Logic I need to set PA_EN and LNA_EN both to 0 to set Power Down. Do I just set these pins to 0 like a normal IO or I need to call a C function to do that?

    At CC2640R2F Launchpad I am able to measure Shutdown Current of less than 0.09uA. With CC2640R2F-CC2592 and CC2592 in Power Down Mode would I get a Shutdown Current of less than 0.09uA? If not I am thinking of putting a MOSFET Switch Circuitry to turn on and off power to CC2592.

    -kel

  • The input parameter of HCI_EXT_SetTxPowerCmd should be the following value.

    #define sTxPowerStatus_MINUS_21_DBM 0
    #define sTxPowerStatus_MINUS_18_DBM 1
    #define sTxPowerStatus_MINUS_15_DBM 2
    #define sTxPowerStatus_MINUS_12_DBM 3
    #define sTxPowerStatus_MINUS_9_DBM 4
    #define sTxPowerStatus_MINUS_6_DBM 5
    #define sTxPowerStatus_MINUS_3_DBM 6
    #define sTxPowerStatus_0_DBM 7
    #define sTxPowerStatus_1_DBM 8
    #define sTxPowerStatus_2_DBM 9
    #define sTxPowerStatus_3_DBM 10
    #define sTxPowerStatus_4_DBM 11
    #define sTxPowerStatus_5_DBM

    0x3F is the combined value of txPower.IB and GC.
    After you set RF Core Data Out 0 and 1, you don’t have to set PA/LNA pin to other state even you want to change mode.