Presentation is loading. Please wait.

Presentation is loading. Please wait.

MODEM REGISTER VERIFICATION

Similar presentations


Presentation on theme: "MODEM REGISTER VERIFICATION"— Presentation transcript:

1 MODEM REGISTER VERIFICATION

2 Register name: MOD_DEVID (RO)
Register Address: 0x600, 0x602 Testcase ID: mod_reg_mod_dev_id.c Purpose: To check if device ID is updated in the register. Description: Read register and compare with expected value. Address: 0x600 – Expected data: 0x01 Address: 0x602 – Expected data: 0x00 Expected outcome: Time 12.19us -> Register address: 0x600 (mif_addr), Read data: 0x01 (mif_rd_data) Time 15.44us -> Register address: 0x602 (mif_addr), Read data: 0x00 (mif_rd_data)

3 Register name: RSSI_VAL (RO)
Register Address: 0x604 Testcase ID: mod_reg_rssi.c Purpose: To check if measured RSSI value is updated in the register. Description: Set attenuation value = -85 dBm at BT1 side. Set frequency offset and frequency drift to zero. Read register and compare with expected value at BT2 side. Address: 0x604 – Expected data: 0xA9 Expected outcome: Time: us -> Register Address: 0x604 (mif_addr), Read data: 0xA9 (mif_rd_data)

4 Understanding: RSSI value is calculated based on AGC gain and average power. AGC gain is calculated based on LNA gain, Block 1 (Mixer) gain, Block 2 (VGA) gain. Since the received signal is attenuated in the channel model, the AGC gain adjusts the received signal to a suitable power level.

5 Register name: TXFUNC_CNTL_LW (RW) – BT_SEL bit
Register Address: 0x608 Testcase ID: mod_reg_txfc_ctrl_bt_sel.c Purpose: Test if the IUT works with the selected BT product configuration 0 - Configure BT product 0.5 (Default) 1 - Configure BT product 0.55 Description: Set attenuation value = -85 dBm at BT1 side. Set frequency offset and frequency drift to zero. Write register with value 0x0000 ( BT = 0.5) or 0x0008 (BT = 0.55).

6 Case 1: BT = 0.5 (iTxBTsel: 1’b0)
Contd.. Case 1: BT = 0.5 (iTxBTsel: 1’b0) Expected outcome: Time: us -> Register Address: 0x608 (mif_addr), Write data: 0x0000 (mif_wr_data) Time: us -> Output signal: oCoeffPlusOne1 = wCoeffPlusOne_1

7 Case 2: BT = 0.55 (iTxBTsel = 1’b1)
Contd.. Case 2: BT = 0.55 (iTxBTsel = 1’b1) Expected outcome: Time:404.03us -> Register Address: 0x608 (mif_addr), Write enable: 1’b1 (wr_en_signal), Write data: 0x0008 (mif_wr_data) Time:404.10us -> Register Address: 0x608 (mif_addr), Read data: 0x0008 (mif_rd_data) Time: us -> Output signal: oCoeffPlusOne1 = wCoeffPlusOne55_1

8 BT_SEL = 0.55 BT_SEL = 0.5 Understanding:
1. For BT= 0.5, the pulse shaping the symbol spreads over 2 bit period duration (Time = us for 1 packet). 2. For BT = 0.55, the symbol spread will be less than 2 bit period duration (Time = us for 1 packet).

9 Register name: RXFUNC_CNTL_LW (RW) - EL_FULL_PKT_TRK, EL_SLOW_TRK_ENB, EL_SAMP_ADJ, EL_CTRL, RSSI_THRESHOLD bits Register Address: 0x61C Testcase ID: mod_reg_el_func_ctrl.c Purpose: To check early late functionality: EL_FULL_PKT_TRK - Early late tracking for full packet. EL_SLOW_TRK_ENB - Early late slow tracking for payload. EL_SAMP_ADJ - Early late sampling point adjustment. EL_CTRL - Early late sum comparison. RSSI_THRESHOLD - RSSI detection threshold for early late adjustment. Description: Set attenuation value = -85 dBm at BT1 side. Write RXFUNC_CTRL register with value 0x3FCA to enable the above mentioned register bits. Write RXFUNC_CTRL register with value 0x7FFC to disable the above mentioned register bits. Write RSSI_THRESHOLD with value 0x3F and 0x7F to check if the threshold value can be set to all bit range.

10 Case 2: Function Disable
Contd.. Case 1: Function Enable Expected outcome: Time: us -> Register Address: 0x61C (mif_addr), Write data: 0x3FCA (mif_wr_data), iElTrkFullPkt: 1’b1, iElSlwTrkEnb: 1’b0, iElSampAdj: 1’b0, iElCtrl: 1’b0, iModCntrlRssiThres[6:0]: 7’h3F Case 2: Function Disable Time: us -> Register Address: 0x61C (mif_addr), Write data: 0x7FFC (mif_wr_data), iElTrkFullPkt: 1’b0, iElSlwTrkEnb: 1’b1, iElSampAdj: 1’b1, iElCtrl: 1’b1, iModCntrlRssiThres[6:0]: 7’h7F

11 2. EL_SLOW_TRK_ENB: Enables/disables slow tracking
Understanding: EL_CTRL: Controls the Early and Late sum comparison with threshold value. EL_CTRL = 1, Threshold met signal will be high when both Early and Late sum are greater than Threshold. EL_CTRL = 0, Threshold met signal will be high when either Early sum or Late sum is greater than Threshold. When Threshold met signal is high, the forward and backward sample adjustment indication will be updated and samples will be adjusted based on the indication. 2. EL_SLOW_TRK_ENB: Enables/disables slow tracking EL_SLOW_TRK_ENB =1 , slow tracking will be enabled and samples will be adjusted after Access address match. Sample adjustment happens when the slow track counter is equal to the slow track threshold. EL_SLOW_TRK_ENB =0 , slow tracking will be disabled and samples will be adjusted before Access address match. 3. EL_FULL_PKT_TRK: Enables/disables Full packet tracking EL_FULL_PKT_TRK =0 , full packet tracking will be enabled and samples will be adjusted for payload. EL_FULL_PKT_TRK =1 , full packet tracking will be disabled and samples will be adjusted till preamble (not for payload). Contd..

12 Contd.. 4. EL_SAMP_ADJ: Enables/Disables the Early Late Sampling point adjustment based on Early late and matched filter average threshold. EL_SAMP_ADJ = 0, Early Late Sampling point adjustment will be based only on Early late threshold met (one packet loss). EL_SAMP_ADJ = 1, Early Late Sampling point adjustment will be based on Early late threshold met and matched filter average threshold (More effective - all packet received). 5. RSSI_THRESHOLD: RSSI value should be above the configured threshold to enable early late adjustment in the modem. If threshold value is not configured with correct value then Early late adjustment operation will not happen.(Packet loss)

13 Register name: RXFUNC_CNTL_LW (RW) – NORM_PH_CTRL bit
Contd.. Register name: RXFUNC_CNTL_LW (RW) – NORM_PH_CTRL bit Register Address: 0x61C Testcase ID: mod_reg_norm_ph_ctrl.c Purpose: To check the Normalizer input data selection 0 - Selects the input data 1 - Selects the registered input data Description: Set attenuation value = -85 dBm at BT1 side. Write RXFUNC_CTRL register with value 0x3FFF to select the registered input data. Write RXFUNC_CTRL register with value 0x3FBF to select the input data.

14 Case 1: NORM_PH_CTRL bit enabled
Contd.. Case 1: NORM_PH_CTRL bit enabled Expected outcome: Time:419.50us -> Register Address: 0x61C (mif_addr), Write data: 0x3FFF (mif_wr_data), iNormPhaseCtrl: 1’b1 Time: us -> Output signal: wNormInPhase_sel = NormInPhase_q for iNormPhaseCtrl : 1’b1

15 Case 2: NORM_PH_CTRL bit disabled
Contd.. Case 2: NORM_PH_CTRL bit disabled Expected outcome: Time:419.72us -> Register Address: 0x61C (mif_addr), Write data: 0x3FBF (mif_wr_data), iNormPhaseCtrl: 1’b0 Time: us -> Output signal: wNormInPhase_sel = iNormInPhase for iNormPhaseCtrl : 1’b0 Understanding: NORM_PH_CTRL: Normalizer input data selection bit. NORM_PH_CTRL = 0, select the incoming input data NORM_PH_CTRL = 1, select the registered input data. To synchronize with the clock.

16 Register name: RXFUNC_CNTL_LW (RW) – FREQ_CHCK_SUM bit
Register Address: 0x61C Testcase ID: mod_reg_chksum_enb.c Purpose: To check enabling/disabling of frequency check sum feature 0 - Disable 1 - Enable Description: Set attenuation value = -85 dBm at BT1 side. Write RXFUNC_CTRL register with value 0x3FFF to enable the frequency check sum feature. Write RXFUNC_CTRL register with value 0x3F7F to disable the frequency check sum feature.

17 Case 1: FREQ_CHCK_SUM bit enabled
Expected outcome: Time: us -> Register Address: 0x61C (mif_addr), Write data: 0x3FFF (mif_wr_data), iFreqCheckSumEnb: 1’b1 Time: us -> Output signal: wFreqCheckSumFail = 1’b1 or 1’b0 based on the frequency check sum calculation for iFreqCheckSumEnb : 1’b1

18 Case 2: FREQ_CHCK_SUM bit disabled
Expected outcome: Time:419.58us -> Register Address: 0x61C (mif_addr), Write data: 0x3F7F (mif_wr_data), iFreqCheckSumEnb: 1’b0 Time: us -> Output signal: wFreqCheckSumFail = 1’b0 for iFreqCheckSumEnb: 1’b0 Understanding: 1. FREQ_CHCK_SUM : Enables/disables the frequency check sum feature FREQ_CHCK_SUM = 1, Checksum fail signal will become high when the estimated checksum value is less than threshold value. Which is used to avoid the frequency correction for false preamble detection. FREQ_CHCK_SUM = 0, Checksum fail signal will become low.


Download ppt "MODEM REGISTER VERIFICATION"

Similar presentations


Ads by Google