立即注册
查看: 2396|回复: 0

[MTK软件原创] [SIM] Instructions on EINT configuration for SIM hot swap for MT6589/MT6572/M...

发表于 2016-6-10 11:00:01 | 显示全部楼层 |阅读模式 来自 广东省深圳市
[SIM] Instructions on EINT configuration for SIM hot swap for MT6589/MT6572/MT6582/MT6592/MT6571 platforms
[Description]

EINT software configuration for smart phone SIM hot swap for
MT6589/MT6572/MT6582/MT6592/MT6571 platforms.

[Solution]

For versions after JB2 (including JB2):
No patch is needed. For JB2 (including JB2) for MT6589/MT6572/MT6582/MT6592/MT6571
platforms, SIM card hot swap is turned on by default. According to hardware, configure
the “ALPS” AP side DCT tool (codegen.dws file).
We suggest you:
1.Configure EINT to trigger “reMOVe SIM card” state, H or L. For example, if “remove
SIM card” state is H (high), configure to trigger H (high).
2.Use level trigger (must be set to “Debounce time”; “Debounce time” must = 100).
The “Debounce time” value will be transferred to the modem side then
“EINT_SW_Debounce_Modify()” for SW de-bounce time setting. The unit is 10ms.
“Debounce time: 100” -> 100*10=100ms=1s.
Example:
MT6592
GPIO14 -> MD_EINT2 mode
GPIO15 -> MD_EINT3 mode
SIM1hot swap detect pin usesMD_EINT No.1
SIM2 hot swap detect pin uses MD_EINT No.2
High level -> Insert SIM card (card)
Low level -> Remove SIM card (no card)
SIM hot swap "GPIO setting":

4.29tp-31.png
Parameter  Query         EINT number           Debounce time
s          String        (MODEM_EINT_NO)       (default:10)
                         SIM1_HOT_PLUG_EINT
                         SIM2_HOT_PLUG_EINT

AP      SIM1_HOT_PLUG    1                      100
        SIM2_HOT_PLUG    2                      100
SIM hot swap "EINT setting":

4.29tp-32.png
Note:
ALPS SIM card hot swap FEATURE: MTK_SIM_HOT_SWAP is only for version after JB2
(including JB2) on MT6589/MT6572/MT6582/MT6592/MT6571 platforms.
- 1
alps\MediaTek\config\$(customer_project)\ProjectConfig.mk
MTK_SIM_HOT_SWAP = no
MTK_RADIOOFF_POWER_OFF_MD = yes
modify to:
MTK_SIM_HOT_SWAP = yes
MTK_RADIOOFF_POWER_OFF_MD = no
---------------------------------------------------------------------------------------
-------------
The option MTK_RADIOOFF_POWER_OFF_MD is for specifying that when the radio is off, turn
off the modem.
When the SIM card is plugged out, turn off the corresponding radio. In case this option
is opened, the modem will be switched off. Therefore, after the SIM card is inserted,
you will not be able to properly detect the plugged-in event (due to modem is already
off). This option cannot be set together to “yes” with SIM hot swap feature
SIM2_HOT_PLUG_EINT
AP SIM1_HOT_PLUG
SIM2_HOT_PLUG
1
2
100
100
(MTK_SIM_HOT_SWAP).
---------------------------------------------------------------------------------------
-------------
- 2
The smart phone SIM hot swap uses “EINT module”. For differences between platforms,
refer to
[FAQ05831] [SIM] Platform differences in SIM hot swap EINT module.

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

合作/建议

TEL: 19168984579

工作时间:
周一到周五 9:00-11:30 13:30-19:30
  • 扫一扫关注公众号
  • 扫一扫打开小程序
Copyright © 2013-2024 一牛网 版权所有 All Rights Reserved. 帮助中心|隐私声明|联系我们|手机版|粤ICP备13053961号|营业执照|EDI证
在本版发帖搜索
微信客服扫一扫添加微信客服
QQ客服返回顶部
快速回复 返回顶部 返回列表