Tried to use EC200A adapter for EC201E-CN
This commit is contained in:
@@ -314,5 +314,14 @@ int InitHwLte(void) {
|
||||
USART_Init(USART2, &USART_InitStructure_Lte);
|
||||
USART_Cmd(USART2, ENABLE);
|
||||
|
||||
/* Enable module pin */
|
||||
GPIO_InitStructure_Lte.GPIO_Pin = GPIO_Pin_6;
|
||||
GPIO_InitStructure_Lte.GPIO_Speed = GPIO_Speed_50MHz;
|
||||
GPIO_InitStructure_Lte.GPIO_Mode = GPIO_Mode_Out_PP;
|
||||
GPIO_Init(GPIOA, &GPIO_InitStructure_Lte);
|
||||
GPIO_SetBits(GPIOA, GPIO_Pin_6);
|
||||
Delay_Ms(2000);
|
||||
GPIO_ResetBits(GPIOA, GPIO_Pin_6);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user