MT6186M RF M50 DPD MP Flow [CS0050-GAL2BO-DGD-V1.0EN ed.]

  • 0 0 0
  • Like this paper and download? You can publish your own PDF file online for free in a few minutes! Sign Up
File loading please wait...
Citation preview

© MediaTek Inc. This document contains information that is proprietary to MediaTek Inc. Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.

Confidential B

Platform_System_RF_M50_DPD_MP_Flow

RSD/RF1 2018/06/25 © MediaTek Inc. This document contains information that is proprietary to MediaTek Inc. Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.

Confidential B

Revision History Revision

Date

Description

V1.0

2019.01.04

1st DPD tuning and optimization release

V1.1

2019.06.25

Add C2K DPD part

Confidential B

Copyright © MediaTek Inc. All rights reserved

3

DPD MP Flow Find initial VPA and MIPI bias

DPD delay search(INI)

PA load optimization

DPD Prf config(INI)

APT VPA tuning(INI)

DPD MIPI config or tuning (Custom file)

APT MIPI tuning(Custom file)

DPD VPA tuning(INI)

APT FHC

3GPP all test cases verification

Pass?

Phone-by-phone consistency (pilot run)

DPD FHC Pass ?

NSFT: EUTRA6dB?

NSFT: EUTRA6dB? Mass production

Current= 25

Confidential B

Copyright © MediaTek Inc. All rights reserved

26

lte_custom_rf_dpd.c (tool gen) PCFE_CUSTOM_PARA



reserved[0] – reserved block



reserved[1] – reserved block

• Note – Please do not modify.

Confidential B

Copyright © MediaTek Inc. All rights reserved

27

lte_custom_rf_dpd.c (tool gen) NORMAL_MODE_AND_OTFC_CUSTOM_PARA –

high_temp_th_to_apt = 65, means we bypass DPD mode if temperature > 65 degree Celsius.



low_temp_th_to_apt = 15, means we bypass DPD mode if temperature < 15 degree Celsius.



The reason is the linearity of PA changes with temperature, but we only calibrate DPD in room temperature, so our DPD LUT can’t be applied when the temperature is too high or too low.

Confidential B

Copyright © MediaTek Inc. All rights reserved

28

lte_custom_rf_dpd.c (tool gen) NORMAL_MODE_AND_OTFC_CUSTOM_PARA –

rb_th_force_dpd_default_lut= 0x02, means we stay in DPD mode but we don’t apply DPD AM and PM LUT if RB number DPD : switch to DPD mode when power larger than 15dbm (15dbm < X APT : switch to APT mode when power smaller or equal to 15dbm ( X DPD : switch to DPD mode when power larger than 15dbm (15dbm < X APT : switch to APT mode when power smaller or equal to 15dbm ( X = 25 –

Set DPD MIPI PA section data with string RouteX if front-end route >= 25.

Confidential B

Copyright © MediaTek Inc. All rights reserved

38

lte_custom_mipi_dpd.c • alternative route >= 25 –

Set DPD MIPI PA section data with string RouteX if front-end route >= 25.

Confidential B

Copyright © MediaTek Inc. All rights reserved

39

lte_custom_mipi_dpd.c • alternative CCA route >= 25 –

Set DPD MIPI PA section data with string RouteX if front-end route >= 25.

Confidential B

Copyright © MediaTek Inc. All rights reserved

40

M50 WCDMA DPD Platform_System_RF_M50_WCDMA_DPD_MP_Flow

Confidential B

Copyright © MediaTek Inc. All rights reserved

41

DPD Delay Search Guide Bypass DPD calibration = 0 for Enable

Cfg file setting

Flow Phase 1: (Pre-SMT lab tuning stage) 1. For delay value consistency, check 3 phones at least 2. Do not run any DPD calibration, but APT FHC before running delay search 3. It is suggested for each phone to run at least 10 times of delay calculation 4. It is suggested to use “median” of 3 phone’s delay results as INI settings 5. Delay values with +/-1~2 units of variations are reasonable 6. Follow step 1 ~ 5 META settings 7. Delay search results will be written back to the original INI automatically 8. No instrument connection is needed except 50ohm load

Delay search setting for time & band

META UI

1 2 3

Phase 2: (SMT production line stage) 1. Check 3 phones if delay values are consistent with lab results. Delay values with +/-1~2 units of variations are reasonable 2. If not, check HW differences 3. To find a new delay values, please follow pre-SMT delay search method

Confidential B

4

5

Tr val value will updated at ini file after DPD

lab tuning

Copyright © MediaTek Inc. All rights reserved

42

DPD FHC *.INI file (1) INI File

DPD Bias setting Calibrated DPD PA gain DPD Mode DPD Prf

META Pa control Note: 1. Pa Gain keep 8 steps 2. [ Dc2Dc] initial setting is 90% of APT bias 3. [ PA gain ] ini value of pa gain , manual update when calibration is done 4. [ PA Mode ] always H because DPD on when prf over 11dBm 5. [Prf] Choose 8 steps at region 12~24

Confidential B

Copyright © MediaTek Inc. All rights reserved

43

DPD FHC *.INI file (2) INI File

Ini Note:  [ Temperature compensation offset] no temp compensation  [ Subband power offset] Just for PA high mode  cal done Cal done= 1 when FHC finished  End1 End2 Start1 Start2 Original meaning is switching position of H,M and L , but this setting not used at DPD due to just only H mode

Confidential B

 Vbias Vm1 Vm2 Voltage setting when PA not controlled by mipi  PA octlevel = 8 8 gears of PA setting  AM PM Cal results (update from cal file)  Tx path compensation Cal results (update from cal file)

Copyright © MediaTek Inc. All rights reserved

44

WCDMA DPD Custom File

Confidential B

Copyright © MediaTek Inc. All rights reserved

45

ul1d_custom_rf_dpd.c

Power setting of DPD function , it will into DPD mode when power over 11dBm at this case.

Enable DPD flag at used bands

Confidential B

Copyright © MediaTek Inc. All rights reserved

46

ul1d_custom_mipi_dpd.c

Base on PAMID LUT table , Mipi setting of 8 steps are equal

Confidential B

Copyright © MediaTek Inc. All rights reserved

47

C2K DPD Platform_System_RF_M50_WCDMA_DPD_MP_Flow

Confidential B

Copyright © MediaTek Inc. All rights reserved

48

APT Tuning Note • With calibration, performance can be verified by META tool manually. • Subtype2(ST2) for EVDO and RC1 for 1X mode in L/M/H channel test cases are recommended for preliminary verification items. • Bias and VPA setting for CDMA 1X mode and EVDO mode should be verified separately.

• Once linearity does not meet 6db margin criterion, it is recommended to fine tune VPA first followed by MIPI bias.

Confidential B

Copyright © MediaTek Inc. All rights reserved

49

DPD Delay Search Guide Flow

META UI

Phase 1: (Pre-SMT lab tuning stage) 1. For delay value consistency, check 3 phones at least 2. Do not run any DPD calibration, but APT FHC before running delay search 3. It is suggested for each phone to run at least 10 times of delay calculation 4. It is suggested to use “median” of 3 phone’s delay results as INI settings 5. Delay values with +/-1~2 units of variations are reasonable 6. Follow step 1 ~ 5 META settings 7. Delay search Cal. results are in the Cal. Result file , please update the INI file manually 8. No instrument connection is needed except 50ohm load

1 2 3

4

5

Phase 2: (SMT production line stage) 1. Check 3 phones if delay values are consistent with lab results. Delay values with +/-1~2 units of variations are reasonable 2. If not, check HW differences 3. To find a new delay values, please follow pre-SMT delay search method

Confidential B

Do 10 times delay search calculation and convergence in one time delay search calibration.

Copyright © MediaTek Inc. All rights reserved

50

DPD FHC *.INI file (1) INI File DPD/APT switch point DPD VPA Calibrated DPD PA gain DPD Prf

Sub-band(0), Prf(0), Cal. AM LUT

Sub-band(0), Prf(7), Cal. AM LUT Sub-band(0), Prf(0), Cal. PM LUT

Sub-band(0), Prf(7), Cal. PM LUT

delay search results from Lab Cal

Confidential B

Copyright © MediaTek Inc. All rights reserved

51

DPD PA Prf/VPA/MIPI Initial Configuration • DPD operation range can be defined in INI file: • DPD Prf MIPI bias can also be initially configured the same as APT Prf MIPI bias • In most cases, DPD VPA can be set at least 0.2V less than APT VPA at same power range • BC0 1x For example: Index

APT

0

1

2

3

4

5

6

7

Prf_apt

1

5

9

12

15

17

19

23

VPA_apt

0.8

1.2

1.5

1.6

1.7

2.5

3

3.4

MIPI_apt CW1;CW3 CW1;CW3 CW1;CW3 CW1;CW3 CW1;CW3 CW1;CW3 CW1;CW3 CW1;CW3 Sub-band1

42;80

42;80

63;87

63;87

63;87

63;87

B4; 82

B4; 82

Sub-band2

42;80

42;80

63;87

63;87

63;87

63;87

B4; 82

B4; 82

Sub-band3

42;80

42;80

63;87

63;87

63;87

63;87

B4; 82

B4; 82

Sub-band4

42;80

42;80

63;87

63;87

63;87

63;87

B4; 82

B4; 82

Sub-band5

42;80

42;80

63;87

63;87

63;87

63;87

B4; 82

B4; 82

Index

0

1

2

3

4

5

6

7

Prf_dpd

10

12

14

16

18

20

22

24

VPA_dpd

1.1

1.1

1.2

1.4

1.7

2.2

2.6

3.2

DPD

MIPI_dpd CW1;CW3 CW1;CW3 CW1;CW3 CW1;CW3 CW1;CW3 CW1;CW3 CW1;CW3 CW1;CW3 Sub-band1

42;80

42;80

63;87

63;87

63;87

63;87

B4; 82

B4; 82

Sub-band2

42;80

42;80

63;87

63;87

63;87

63;87

B4; 82

B4; 82

Sub-band3

42;80

42;80

63;87

63;87

63;87

63;87

B4; 82

B4; 82

Sub-band4

42;80

42;80

63;87

63;87

63;87

63;87

B4; 82

B4; 82

Sub-band5

42;80

42;80

63;87

63;87

63;87

63;87

B4; 82

B4; 82

Confidential B

Copyright © MediaTek Inc. All rights reserved

52

DPD Tuning Note • There is DPD normal mode enable flag for DPD feature switch. CL1D_DPD_ENABLE means turn on DPD, CL1D_DPD_DISABLE means turn off DPD. These settings can be found in “c2k_custom_rf_dpd.c”

• Delay must be applied in INI file before calibration • EVDO ST2 and 1X RC1 cases and are recommended for preliminary verification items. • The operation in extreme test condition would be forced into APT mode. Temperature threshold can be modified, and it varies depending on PA and PCB design. The default thresholds are 60/-20 degree. These setting can be found in “c2k_custom_rf_dpd.c”

Temperature range settings

OTFC disable flag

Confidential B

When DPD is enabled and the OTFC disable flag is set to 1: DPD feature will only work under the setting work temperature and will switch to APT mode when temperature is out of the setting range. When DPD is enabled and the OTFC disable flag is set to 0: OTFC feature will be turned on, OTFC will work in any temperature condition and the temperature threshold setting will be ignored.

Copyright © MediaTek Inc. All rights reserved

53

DPD FHC *.CFG File • Before DPD run fast handset calibration (FHC), DPD flag and band should be turned on in CFG file • Bands that need to run DPD must be listed in CFG file

CFG File Bands that need to run DPD FHC must be defined here. DPD FHC flag. “0”:turn DPD FHC on; “1”:without DPD cal.

Do 10 times delay search calculation and convergence in one time delay search calibration.

Confidential B

Copyright © MediaTek Inc. All rights reserved

54

C2K DPD Custom File

Confidential B

Copyright © MediaTek Inc. All rights reserved

55

Find Initial APT VPA/MIPI • PA vendor provides recommended VPA (INI) and MIPI bias (custom file) settings under specific RFFE loss and Prf • SKY78185 as an example:

Prf(7)=24dBm Prf(6)=22dBm Prf(5)=19dBm Prf(4)=15dBm

Prf(3)=10dBm Prf(2)=6dBm Prf(1)=2dBm Prf(0)=0dBm

Band BC0 BC0 BC0 BC0 BC0 BC0 BC0 BC0 BC0 BC0 BC0 BC0 BC0 BC0 BC0 BC0 BC0 BC0 BC0 BC0 BC0 BC0 BC0 BC0 BC0 BC0 BC0

VPA 3.40 3.40 2.90 2.90 2.55 2.55 2.55 2.00 2.00 2.00 2.00 1.30 1.30 1.30 1.30 1.30 0.85 0.85 0.85 0.85 0.65 0.65 0.65 0.65 0.60 0.60 0.60

CW 0X0D5C0038:0X0D4000F4:0X0D4100C4:0X0D430006:0X0D450008:0X0D470010 0X0D5C0038:0X0D4000F4:0X0D4100C4:0X0D430006:0X0D450008:0X0D470010 0X0D5C0038:0X0D4000F4:0X0D4100C3:0X0D430006:0X0D450008:0X0D470010 0X0D5C0038:0X0D4000F4:0X0D4100C3:0X0D430006:0X0D450008:0X0D470010 0X0D5C0038:0X0D4000F4:0X0D4100C3:0X0D430006:0X0D450008:0X0D470010 0X0D5C0038:0X0D4000F4:0X0D4100C3:0X0D430006:0X0D450008:0X0D470010 0X0D5C0038:0X0D4000F4:0X0D4100C3:0X0D430006:0X0D450008:0X0D470010 0X0D5C0038:0X0D4000F4:0X0D4100C3:0X0D430006:0X0D450008:0X0D470010 0X0D5C0038:0X0D4000F4:0X0D4100C3:0X0D430006:0X0D450008:0X0D470010 0X0D5C0038:0X0D4000F4:0X0D4100C3:0X0D430006:0X0D450008:0X0D470010 0X0D5C0038:0X0D4000F4:0X0D4100C3:0X0D430006:0X0D450008:0X0D470010 0X0D5C0038:0X0D4000F4:0X0D4100C2:0X0D430006:0X0D450008:0X0D470010 0X0D5C0038:0X0D4000F4:0X0D4100C2:0X0D430006:0X0D450008:0X0D470010 0X0D5C0038:0X0D4000F4:0X0D4100C2:0X0D430006:0X0D450008:0X0D470010 0X0D5C0038:0X0D4000F4:0X0D4100C2:0X0D430006:0X0D450008:0X0D470010 0X0D5C0038:0X0D4000F4:0X0D4100C2:0X0D430006:0X0D450008:0X0D470010 0X0D5C0038:0X0D4000F4:0X0D410062:0X0D430000:0X0D450008:0X0D470010 0X0D5C0038:0X0D4000F4:0X0D410062:0X0D430000:0X0D450008:0X0D470010 0X0D5C0038:0X0D4000F4:0X0D410062:0X0D430000:0X0D450008:0X0D470010 0X0D5C0038:0X0D4000F4:0X0D410062:0X0D430000:0X0D450008:0X0D470010 0X0D5C0038:0X0D4000F4:0X0D410062:0X0D430000:0X0D450008:0X0D470010 0X0D5C0038:0X0D4000F4:0X0D410062:0X0D430000:0X0D450008:0X0D470010 0X0D5C0038:0X0D4000F4:0X0D410062:0X0D430000:0X0D450008:0X0D470010 0X0D5C0038:0X0D4000F4:0X0D410062:0X0D430000:0X0D450008:0X0D470010 0X0D5C0038:0X0D4000F4:0X0D410042:0X0D430000:0X0D450008:0X0D470010 0X0D5C0038:0X0D4000F4:0X0D410042:0X0D430000:0X0D450008:0X0D470010 0X0D5C0038:0X0D4000F4:0X0D410042:0X0D430000:0X0D450008:0X0D470010

CW1 Confidential B

CW3

Freq (MHz) 836.52 836.52 836.52 836.52 836.52 836.52 836.52 836.52 836.52 836.52 836.52 836.52 836.52 836.52 836.52 836.52 836.52 836.52 836.52 836.52 836.52 836.52 836.52 836.52 836.52 836.52 836.52

PA Pout (dbm) 29.5 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4

RFFE ANT loss(db) Pout(dbm) 4 25.5 4 25 4 24 4 23 4 22 4 21 4 20 4 19 4 18 4 17 4 16 4 15 4 14 4 13 4 12 4 11 4 10 4 9 4 8 4 7 4 6 4 5 4 4 4 3 4 2 4 1 4 0

IL

Copyright © MediaTek Inc. All rights reserved

P_ANT

56

Custom File/INI Setting • Fill initial MIPI bias, VPA, and Prf into c2k_custom_mipi.c and INI file, respectively  For example: Custom file Prf(0)

Prf(7) CW1

CW3

INI file(APT) VPA(0)~VPA(7) Prf(0)~Prf(7)

Confidential B

Copyright © MediaTek Inc. All rights reserved

57

APT Tuning Note • With calibration, performance can be verified by META tool manually. • Subtype2(ST2) for EVDO and RC1 for 1X mode in L/M/H channel test cases are recommended for preliminary verification items. • Bias and VPA setting for CDMA 1X mode and EVDO mode should be verified separately.

• Once linearity does not meet 6db margin criterion, it is recommended to fine tune VPA first followed by MIPI bias.

Confidential B

Copyright © MediaTek Inc. All rights reserved

58

DPD Delay Search Guide Flow

META UI

Phase 1: (Pre-SMT lab tuning stage) 1. For delay value consistency, check 3 phones at least 2. Do not run any DPD calibration, but APT FHC before running delay search 3. It is suggested for each phone to run at least 10 times of delay calculation 4. It is suggested to use “median” of 3 phone’s delay results as INI settings 5. Delay values with +/-1~2 units of variations are reasonable 6. Follow step 1 ~ 5 META settings 7. Delay search Cal. results are in the Cal. Result file , please update the INI file manually 8. No instrument connection is needed except 50ohm load

1 2 3

4

5

Phase 2: (SMT production line stage) 1. Check 3 phones if delay values are consistent with lab results. Delay values with +/-1~2 units of variations are reasonable 2. If not, check HW differences 3. To find a new delay values, please follow pre-SMT delay search method

Confidential B

Do 10 times delay search calculation and convergence in one time delay search calibration.

Copyright © MediaTek Inc. All rights reserved

59

DPD FHC *.INI file (1) INI File DPD/APT switch point DPD VPA Calibrated DPD PA gain DPD Prf

Sub-band(0), Prf(0), Cal. AM LUT

Sub-band(0), Prf(7), Cal. AM LUT Sub-band(0), Prf(0), Cal. PM LUT

Sub-band(0), Prf(7), Cal. PM LUT

delay search results from Lab Cal

Confidential B

Copyright © MediaTek Inc. All rights reserved

60

DPD PA Prf/VPA/MIPI Initial Configuration • DPD operation range can be defined in INI file: • DPD Prf MIPI bias can also be initially configured the same as APT Prf MIPI bias • In most cases, DPD VPA can be set at least 0.2V less than APT VPA at same power range • BC0 1x For example: Index

APT

0

1

2

3

4

5

6

7

Prf_apt

1

5

9

12

15

17

19

23

VPA_apt

0.8

1.2

1.5

1.6

1.7

2.5

3

3.4

MIPI_apt CW1;CW3 CW1;CW3 CW1;CW3 CW1;CW3 CW1;CW3 CW1;CW3 CW1;CW3 CW1;CW3 Sub-band1

42;80

42;80

63;87

63;87

63;87

63;87

B4; 82

B4; 82

Sub-band2

42;80

42;80

63;87

63;87

63;87

63;87

B4; 82

B4; 82

Sub-band3

42;80

42;80

63;87

63;87

63;87

63;87

B4; 82

B4; 82

Sub-band4

42;80

42;80

63;87

63;87

63;87

63;87

B4; 82

B4; 82

Sub-band5

42;80

42;80

63;87

63;87

63;87

63;87

B4; 82

B4; 82

Index

0

1

2

3

4

5

6

7

Prf_dpd

10

12

14

16

18

20

22

24

VPA_dpd

1.1

1.1

1.2

1.4

1.7

2.2

2.6

3.2

DPD

MIPI_dpd CW1;CW3 CW1;CW3 CW1;CW3 CW1;CW3 CW1;CW3 CW1;CW3 CW1;CW3 CW1;CW3 Sub-band1

42;80

42;80

63;87

63;87

63;87

63;87

B4; 82

B4; 82

Sub-band2

42;80

42;80

63;87

63;87

63;87

63;87

B4; 82

B4; 82

Sub-band3

42;80

42;80

63;87

63;87

63;87

63;87

B4; 82

B4; 82

Sub-band4

42;80

42;80

63;87

63;87

63;87

63;87

B4; 82

B4; 82

Sub-band5

42;80

42;80

63;87

63;87

63;87

63;87

B4; 82

B4; 82

Confidential B

Copyright © MediaTek Inc. All rights reserved

61

DPD Tuning Note • There is DPD normal mode enable flag for DPD feature switch. CL1D_DPD_ENABLE means turn on DPD, CL1D_DPD_DISABLE means turn off DPD. These settings can be found in “c2k_custom_rf_dpd.c”

• Delay must be applied in INI file before calibration • EVDO ST2 and 1X RC1 cases and are recommended for preliminary verification items. • The operation in extreme test condition would be forced into APT mode. Temperature threshold can be modified, and it varies depending on PA and PCB design. The default thresholds are 60/-20 degree. These setting can be found in “c2k_custom_rf_dpd.c”

Temperature range settings

OTFC disable flag

Confidential B

When DPD is enabled and the OTFC disable flag is set to 1: DPD feature will only work under the setting work temperature and will switch to APT mode when temperature is out of the setting range. When DPD is enabled and the OTFC disable flag is set to 0: OTFC feature will be turned on, OTFC will work in any temperature condition and the temperature threshold setting will be ignored.

Copyright © MediaTek Inc. All rights reserved

62

DPD FHC *.CFG File • Before DPD run fast handset calibration (FHC), DPD flag and band should be turned on in CFG file • Bands that need to run DPD must be listed in CFG file

CFG File Bands that need to run DPD FHC must be defined here. DPD FHC flag. “0”:turn DPD FHC on; “1”:without DPD cal.

Do 10 times delay search calculation and convergence in one time delay search calibration.

Confidential B

Copyright © MediaTek Inc. All rights reserved

63

Appendix – NVRAM setting for debug

Confidential B

Copyright © MediaTek Inc. All rights reserved

64

By Route Force to APT mode META

Note: Dpd_cal_done : KAL_TRUE  DPD mode Dpd_cal_done : KAL_FALSE  APT mode

Confidential B

Copyright © MediaTek Inc. All rights reserved

65

By Temperature Threshold Force APT Mode META

Force APT mode when temp. > 65 deg.

Force APT mode when temp. < 15 deg. If total RB# < 2, then force default LUT compensation

Confidential B

Copyright © MediaTek Inc. All rights reserved

66

Force Turn-off OTFC when debug META

Note: en_dpd_am_track_by_txdfe & en_dpd_pm_track_by_txdfe: KAL_TRUE  DPD mode with OTFC en_dpd_am_track_by_txdfe & en_dpd_pm_track_by_txdfe: KAL_FALSE  DPD mode wo OTFC

Confidential B

Copyright © MediaTek Inc. All rights reserved

67

DPD cal done checking

1.

Confidential B

2.

Route number represent band indicator at custom file (route1=B1 , route2=B2, route3=B5 , route4=B8) It will be “True” when DPD calibration si done

1.

Enable DPD function

Copyright © MediaTek Inc. All rights reserved

68

Force Turn-off OTFC when debug

1.

Confidential B

Default setting will turn on OTFC , choose “KAL_False” at am_track&pm track will force turn off OTFC for debug.

Copyright © MediaTek Inc. All rights reserved

69

Copyright © MediaTek Inc. All rights reserved.