Other Parts Discussed in Thread: CC2538, Z-STACK, CC2592, CC2591, CC2590, CC2538-CC2592EMK
Hi Ti
could any body provide the application note for z-stack modifications for using rf front end with cc2538?
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.
You can download AN130 - Using CC2592 Front End with CC2538.
Dear Yk Chen
is that only one compilation flag is enough or any .h files are included or any register settings are needed?
Dear Yk Chen
What you said is ok. we want to also use Z-stack 1.2.2
in the Z-stack home1.2.2 the register settings are
/* RF observable control register value to output PA signal */
#define RFC_OBS_CTRL_PA_PD_INV 0x68UL
/* RF observable control register value to output LNA signal */
#define RFC_OBS_CTRL_LNAMIX_PD_INV 0x6AUL
/* OBSSELn register value to select RF observable 0 */
#define OBSSEL_OBS_CTRL0 0x80
/* OBSSELn register value to select RF observable 1 */
#define OBSSEL_OBS_CTRL1 0x81
/* PC3 -> PAEN */
RFC_OBS_CTRL0 = RFC_OBS_CTRL_PA_PD_INV;
OBSSEL3 = OBSSEL_OBS_CTRL0;
/* PC2 -> EN (LNA control) */
RFC_OBS_CTRL1 = RFC_OBS_CTRL_LNAMIX_PD_INV;
OBSSEL2 = OBSSEL_OBS_CTRL1;
But in datasheet mentioned that
CC2538 Register Reccommened Value
CCTEST_OBSSEL2 0x80
CCTEST_OBSSEL3 0x81
RFC_OBS_CTRL0 0x6A
RFC_OBS_CTRL1 0x68
Both are not matched. which one is correct?
Dear Yk Chen
How to change the default power as 22dbm in Z-stack-Home 1.2.2 firmware ?
The default TX power of CC2538-CC2592EMK is 22 dbm in Z-Stack Home 1.2.2. You can refer to the following code in mac_radio_defs.c.
#if defined HAL_PA_LNA_CC2592 || defined MAC_RUNTIME_CC2592
const uint8 CODE macRadioDefsTxPwrCC2592[] =
{
22, /* tramsmit power level of the first entry */
(uint8)(int8)8, /* transmit power level of the last entry */
/* 22 dBm */ 0xFF, /* characterized as 22 dBm in datasheet */
/* 21 dBm */ 0xD5, /* characterized as 20.9 dBm in datasheet */
/* 20 dBm */ 0xC5, /* characterized as 20.1 dBm in datasheet */
/* 19 dBm */ 0xB0, /* characterized as 19 dBm in datasheet */
/* 18 dBm */ 0xA1, /* characterized as 17.8 dBm in datasheet */
/* 17 dBm */ 0xA1,
/* 16 dBm */ 0x91, /* characterized as 16.4 dBm in datasheet */
/* 15 dBm */ 0x88, /* characterized as 14.9 dBm in datasheet */
/* 14 dBm */ 0x88,
/* 13 dBm */ 0x72, /* characterized as 13 dBm in datasheet */
/* 12 dBm */ 0x72,
/* 11 dBm */ 0x62, /* characterized as 11 dBm in datasheet */
/* 10 dBm */ 0x58, /* characterized as 9.5 dBm in datasheet */
/* 9 dBm */ 0x58,
/* 8 dBm */ 0x42, /* characterized as 7.5 dBm in datasheet */
};
#endif
Hi guys,
As Venkata told, in Application Report SWRA447 says that:
CCTEST_OBSSEL2 = 0x80; CCTEST_OBSSEL3 = 0x81;
But in Z-Stack Home 1.2.2a.44539 these values appears to be exchanged.
Should I have to change it in my firmware as the offical draft tell us?