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.

CC2540: Command Disallowed (0x0C) LE_Test_End result on custom board

Part Number: CC2540
Other Parts Discussed in Thread: CC2541

I have a CC2540USB Dongle and I have my custom board with a CC2541.

I can command my custom board into HCI_LE_Transmitter_Test via my coprocessor (MSP430) and command the USB Dongle into HCI_LE_Receiver_Test using HCITester via my PC.

When I command the USB Dongle to HCI_LE_Test_End, I can see that it has received a number of packets.

When I try to do the opposite, i.e. I put my custom board in Receiver Test mode, then Test End (without even putting the USB Dongle in Transmitter Test), the return result is 0x0C, which I understand to be Command Disallowed.

When I command my board into Receiver Test mode I get this for a response:

04 0E 04 00 1D 20 00

When I command my board to Test End I get this for a response:

04 0E 06 00 1F 20 0C 00 00

When I try to run the USB Dongle in Transmitter Test mode, sending packets on the same channel, I get the same result from my custom board when I end the test.

Why is the end test command disallowed on my custom board?

UPDATE:  Even though I know my custom board can enter Transmitter Test mode, the Test End command fails when trying to exit that as well.