Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed from November 25 through December 2. Thank you for your patience.

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.

CC2640: Modem Tests, what am I supposed to see?

Part Number: CC2640

Hello everyone, we implemented the modem tests as below, my question is, when I execute the parts, what am I supposed to see on the sniffer (it's a Frontline BPA Low Energy)?

Here is what I am seeing:

if I execute

HCI_EXT_ModemTestTxCmd(HCI_EXT_TX_UNMODULATED_CARRIER,0);

Thing is, I think that I should be seeing empty data packets on RF Channel 0, and no other channel. But instead I'm seeing empty continuation packets on any other channel, but channel 0. Is this what I should be seeing? I'm sure the test is triggered, but is it also executed correctly?

HCI_EXT_ModemTestTxCmd(HCI_EXT_TX_UNMODULATED_CARRIER,19);

Same thing. I am not sure what I am supposed to be seeing, but it does not look like what I was expecting.


 

#ifdef FEATURE_OAD
while (!Queue_empty(hOadQ))
{
oadTargetWrite_t *oadWriteEvt = Queue_get(hOadQ);
// printf("\n evnt : %x",oadWriteEvt->event);
// Identify new image.
if (oadWriteEvt->event == OAD_WRITE_IDENTIFY_REQ)
{
OAD_imgIdentifyWrite(oadWriteEvt->connHandle, oadWriteEvt->pData);
}
// Write a next block request.
else if (oadWriteEvt->event == OAD_WRITE_BLOCK_REQ)
{
OAD_imgBlockWrite(oadWriteEvt->connHandle, oadWriteEvt->pData);
}
else if (oadWriteEvt->event == RESET_SEND_RANDOM_DATA)
{
//...
}
} else if (oadWriteEvt->event == DEBUG_DATA_GOTTEN) {
debugger(oadWriteEvt->pData[0]);
}

// Free buffer.
ICall_free(oadWriteEvt);
}
#endif //FEATURE_OAD



Status_t debugger(uint8 inVal)
{
uint8_t enableAdver= false;
if ( inVal>=1 && inVal<=11)
{
//GAPRole_SetParameter(GAPROLE_ADVERT_ENABLED, sizeof(uint8_t),&enableAdver);
switch(inVal)
{
case 1:
{
//1st Push: TX CW, 2402 MHz, 0 dBm
HCI_EXT_ModemTestTxCmd(HCI_EXT_TX_UNMODULATED_CARRIER,0);
}
break;

case 2:
{
//2nd Push: TX CW, 2440 MHz, 0 dBm
HCI_EXT_ModemTestTxCmd(HCI_EXT_TX_UNMODULATED_CARRIER,19);
}
break;

case 3:
{
//3rd Push: TX CW, 2480 MHz, 0 dBm
HCI_EXT_ModemTestTxCmd(HCI_EXT_TX_UNMODULATED_CARRIER,39);
}
break;

case 4:
{
//4th Push: TX MOD, 2402 MHz 0 dBm
HCI_EXT_ModemTestTxCmd(HCI_EXT_TX_MODULATED_CARRIER,0);
}
break;

case 5:
{
//5th Push: TX MOD, 2440 MHz 0 dBm
HCI_EXT_ModemTestTxCmd(HCI_EXT_TX_MODULATED_CARRIER,19);
}
break;

case 6:
{
//6th Push: TX MOD, 2480 MHz 0 dBm
HCI_EXT_ModemTestTxCmd(HCI_EXT_TX_MODULATED_CARRIER,39);
}
break;

case 7:
{
//7th Push: RX ON, 2402 MHz Standard gain
HCI_EXT_ModemTestRxCmd(0);
}
break;

case 8:
{
//8th Push: RX ON, 2440 MHz Standard gain
HCI_EXT_ModemTestRxCmd(19);
}
break;

case 9:
{
//9th Push: RX ON, 2480 MHz Standard gain
HCI_EXT_ModemTestRxCmd(39);
}
break;

case 10:
{
HCI_EXT_EndModemTestCmd();
//Standby
}
case 11:
{
unsigned int status = Power_shutdown(NULL,NULL);
}
break;
default:
return -1;
} // switch(inVal)
} // if (inVal >=0 || inVal <<=11)
return 0;
}

Thanks in advance!