Other Parts Discussed in Thread: CC2591, CC2530
Hi,
I need to put cc2530+cc2591 design in continuous Tx mode, I simply tried with below code it is not working!
P0 = 0xFF; // port 0
P1 = 0xEF; // port 1
P0DIR = 0x80; // port 0 direction
P1DIR = 0x12; // port 1 direction
FRMCTRL0 = 0x43; // frame handling
FRMCTRL1 = 0x00; // frame handling
CCACTRL0 = 0xF8; // cca threshold
FSCAL1 = 0x00; // tune frequency calibration
AGCCTRL1 = 0x15; // agc reference level
AGCCTRL2 = 0xFE; // agc gain override
MDMTEST1 = 0x08; // test register for modem
TXFILTCFG = 0x09; // tx filter configuration
HGA = 1;
PA_EN = 1;
while (FSMSTAT1 & (0x02 | 0x20 ));
RFST = STROBE_TX;
Do I need to set clock? or what else I need to do for this?