SWRA750 September 2022
In this configuration, the Wilink (RX) device will run the BER meter script as the Litepoint iQ2010 (TX) sends the packets with an embedded BD address.
The waveforms for different packet types with an embedded BD address (0x111111110000) can be downloaded here.
Before the BER meter test is initiated, the Litepoint iQ2010 needs to be configured following these steps:
The Litepoint iQ2010 and hardware are now properly configured. Do not start the RF signal until you have followed the steps below on the Wilink (RX) board.
Step 1:
Run the INIT script Wilink board.
Step 2:
Start the BER function on the Wilink (RX) board using the following script example:
$l10
count = 0
#DH5, 339 packet size x 8 bits x 590 packets = 1.6Mbits
#BD address = the one embedded in the IQ waveform
Send_HCI_VS_DRPb_BER_Meter_Start 0xFD8B, 0, 0, 0x111111110000, 1, 0x5, 339, 590, 0x1FF, 0x1
Wait_HCI_Command_Complete_VS_DRPb_BER_Meter_Start_Event 5000, any, HCI_VS_DRPb_BER_Meter_Start, 0x00
#
$l11
Sleep 2000
count++
Send_HCI_VS_DRP_Read_BER_Meter_Status 0xFD5B
Wait_HCI_Command_Complete_VS_DRP_Read_BER_Meter_Status_Event 5000, any, HCI_VS_DRP_Read_BER_Meter_Status, 0x00, &synched, &finished, any, &total_bits, &bit_errors, &packets
if finished== 0 then
if synched == 0 then
log"not synced yet %d count",count
#Fail "no SYNC"
else
log"not finished yet %d packets, count %d",packets,count
endif
goto $l11
else
BER = 1000000*bit_errors/total_bits
log"BER is %d e-6 (%d bits out of %d)",1000000*bit_errors/total_bits,bit_errors,total_bits
if BER > 100 then
Fail "BER is too high"
else
pause "Finished"
endif
endif
#pause""
goto $l10
Step 3:
Start the RF signal on the iQSignal GUI by clicking RF ON/OFF and confirm that the indication text turns green.
Step 4:
Let the BER script finish on the Wilink board, and observe the results in the HCITester Trace Log.