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.

CC2564MODN: HCI Tester settings

Genius 12760 points

Part Number: CC2564MODN

Customer has to certify a new system with CC2564MODN module. The test house is facing problems with the BLE transmitter test.
see: http://processors.wiki.ti.com/index.php/CC256x_Testing_Guide#Transmitter_Test  

They claim that the "HCI_BLE_Transmitter_Test" command sends the wrong frequency (shifted by 1MHz), means TX Frequency: 2402 + 2*k - 1

TX Channel 0 => 2401 MHz, should be 2402 MHz
TX Channel 39 => 2479 MHz, should be 2480 MHz

Problem: The highest frequency (2480 MHz) cannot be measured. Entering TX Channel 40 an error comes up.
For testing "HCI-Tester.exe" with attached script is used:

# BLE Testing
# -----------

# 1. Initialize CC2564 device
# Load Core BT Service Pack (BT SP)to the CC2564 device
# ==> Automatically done during initialization of the GG04 plus

# 2. Enable BLE mode 
# ==> BLE is enabled during initialization of the GG04 plus
Send_HCI_VS_LE_Enable 0xFD5B, 1, 1
Wait_HCI_Command_Complete_VS_LE_Enable_Event 5000, any, HCI_VS_LE_Enable, 0x00

# 3. Set the BLE Test Parameters 
# Note: Power Level 1 is used for BLE. For more information on this command, refer to the CC256x_VS_HCI_Commands wiki 

# Command Parameter  	Size (bytes) 	Value 		Description 
# -----------------		------------	-----		-----------
# Packets to transmit  	2   			0x0000  	Unlimited - Continuous TX 
#										N			N number of packets to transmit
# Access code  			4  				0xXXXXXXXX  An access code to sync and transmit 
# 													Default = 0x71764129 (TestMode AC) 
Send_HCI_VS_Set_LE_Test_Mode_Parameters 0xFD77, 0x01, 0x0, 0, 0x71764129, 0, 0, 0, 0, 0, 0
Wait_HCI_Command_Complete_VS_Set_LE_Test_Mode_Parameters_Event 5000, any, HCI_VS_Set_LE_Test_Mode_Parameters, 0x00

# 4. Start TX test

# Command Parameter	Size (bytes) 	Value			Description 
# -----------------	------------	-----			-----------
# TX_Channel		1				0 - 39  		TX		Frequency: 2402 + 2*k, 
#													where k is the channel (max val is 39) 
# Data_Length  		1				0 - 37 (0x025)	Packet payload length up to 37 (0x25) bytes 
# Payload_Type  	1  				0 - 7  			0 - PRBS9 
#													1 - FOFO 
#													2 - ZOZO 
#													3 - PRBS15 
#													4 - All Ones 
#													5 - All Zeros 
#													6 - OFOF 
#													7 - OZOZ  
Send_HCI_BLE_Transmitter_Test 0x00, 0x00, 0
Wait_HCI_Command_Complete_BLE_Transmitter_Test_Event 5000, any, HCI_BLE_Transmitter_Test, 0x00

# 5. Take measurements
# Look at the Bluetooth tester results.

# 6. End BLE TX Test
Send_HCI_BLE_Test_End 0x201F
Wait_HCI_Command_Complete_BLE_Test_End_Event 5000, any, HCI_BLE_Test_End, 0x00, 0

# Note: Note: To re-start transmission, go back to steps 3 (optional) and 4

They need immediately a solution to finish the certification and have to test all frequencies of course.
Why does the system setup a wrong frequency?

Regards,
Bernd