Hello All,
I have a custom board mapped as follows:
CC2538_PC2 ----> PA_EN
CC2538_PC0 ----> LNA_EN
CC2538_PD3 ---> HGM
I am using IAR GenericApp (downloaded from TI) and I`ve already changed the LNA and PA definitions located at mac_radio_defs.c as follows:
/ PC2-> PAEN /
RFC_OBS_CTRL0 = RFC_OBS_CTRL_PA_PD_INV;//0x68
OBSSEL2 = OBSSEL_OBS_CTRL0;//0x80
/ PC0 -> EN (LNA control) /
RFC_OBS_CTRL1 = RFC_OBS_CTRL_LNAMIX_PD_INV;//0x6A
OBSSEL0 = OBSSEL_OBS_CTRL1;//0x81
HGM was re defined in hal_board_cfg.h as follows:
/ HGM Port and Pin /
#define HGM_BASE GPIO_D_BASE
#define HGM_PIN GPIO_PIN_3
I am comparing both signals by using CC2538-CC2592EM and my custom board:
CC2538-CC2592EM:
YELLOW --> LNA
GREEN --> PA
CC2538+CC2592 CUSTOM BOARD:
YELLOW --> LNA
GREEN --> PA
As you can see both signals are correctly mapped, BUT when the transmission starts, both signals behave differently and I got an error, detected by the following breakpoint, located in GenericApp.c
Do you guys know if I have to modify any other part of the code to successfully transmit and receive with my custom board?
Thanks in advance,
Josh