Instructions on EINT configuration ffor MT6589/MT6572/MT6582/MT6592/MT6571 platforms
2017-11-28 09:55
1076 查看
[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
GPI014 -> 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":
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":
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.
资料来源:一牛网论坛 MT6572 http://bbs.16rd.com/thread-55286-1-1.html
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
GPI014 -> 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":
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":
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.
资料来源:一牛网论坛 MT6572 http://bbs.16rd.com/thread-55286-1-1.html
相关文章推荐
- 【译】TetroGL: An OpenGL Game Tutorial in C++ for Win32 Platforms - Part 2 (上)
- Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4. failed with exit code 1
- Shader Compilation for Multiple Platforms
- An attempt was made to load a program with an incorrect format” even when the platforms are the same
- How to save/read file on different platforms
- Command /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/
- Offline installation of Anrdoid SDK (Platforms and addons)
- Robust Multi-Person Tracking from Mobile Platforms
- SDK does not contain any platforms. error (android)
- This application failed to start because it could not find or load the Qt platforms plugins
- Unity编译时找不到AndroidSDK的问题 | Unable to list target platforms(转载)
- 【译】TetroGL: An OpenGL Game Tutorial in C++ for Win32 Platforms - Part 2 (下)
- Android电子书和platforms下载【【【115网盘】】】
- build parameter for all platforms
- Command /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llv
- Creating INF Files for Multiple Platforms and Operating Systems
- ld: warning: directory not found for option '-F"/Applications/Xcode.app/Contents/Developer/Platforms
- unity3D发布android时报错:not platforms found 解决办法
- fatal error: file '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Dev
- ROS Coordinate Frames for Mobile Platforms