Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
haoJin750TFT
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
时昊
haoJin750TFT
Commits
dfe4d3c8
Commit
dfe4d3c8
authored
Dec 12, 2024
by
张金硕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:修改630和屏的上下电时序
parent
a656a8ce
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
AMT630H.c
Firmware/Source/Component/AMT630H/AMT630H.c
+9
-7
PowerManag_user.c
Firmware/Source/Component/PowerManagement/PowerManag_user.c
+1
-1
No files found.
Firmware/Source/Component/AMT630H/AMT630H.c
View file @
dfe4d3c8
...
@@ -214,15 +214,16 @@ void AMT630H_RstCtrl(void)
...
@@ -214,15 +214,16 @@ void AMT630H_RstCtrl(void)
RTE_GPIO_Set_Level
(
STBYB_LCD_MCU
,
0
);
//lcd
RTE_GPIO_Set_Level
(
STBYB_LCD_MCU
,
0
);
//lcd
RTE_GPIO_Set_Level
(
MCU_RSTB_LCD
,
0
);
//lcd
RTE_GPIO_Set_Level
(
MCU_RSTB_LCD
,
0
);
//lcd
Delay_Time_Ctrl
(
10
);
Delay_Time_Ctrl
(
10
);
RTE_GPIO_Set_Level
(
VCC_33_EN_MCU
,
1
);
Delay_Time_Ctrl
(
15
);
RTE_GPIO_Set_Level
(
VCC1V2_AMT_EN
,
1
);
RTE_GPIO_Set_Level
(
VCC1V2_AMT_EN
,
1
);
Delay_Time_Ctrl
(
15
);
Delay_Time_Ctrl
(
15
);
RTE_GPIO_Set_Level
(
VCC_33_EN_MCU
,
1
);
RTE_GPIO_Set_Level
(
x1530_EN_MCU
,
1
);
Delay_Time_Ctrl
(
45
);
Delay_Time_Ctrl
(
55
);
RTE_GPIO_Set_Level
(
MCU_RSTB_LCD
,
1
);
RTE_GPIO_Set_Level
(
MCU_RSTB_LCD
,
1
);
Delay_Time_Ctrl
(
15
);
RTE_GPIO_Set_Level
(
STBYB_LCD_MCU
,
1
);
Delay_Time_Ctrl
(
10
);
Delay_Time_Ctrl
(
10
);
RTE_GPIO_Set_Level
(
x1530_EN_MCU
,
1
);
//1530
RTE_GPIO_Set_Level
(
STBYB_LCD_MCU
,
1
);
//1530
Delay_Time_Ctrl
(
30
);
}
}
void
Amt630hInit
(
void
)
void
Amt630hInit
(
void
)
...
@@ -293,10 +294,11 @@ void Amt630hInit(void)
...
@@ -293,10 +294,11 @@ void Amt630hInit(void)
void
AMT630H_Sleep
(
void
)
void
AMT630H_Sleep
(
void
)
{
{
RTE_GPIO_Set_Level
(
STBYB_LCD_MCU
,
0
);
RTE_GPIO_Set_Level
(
STBYB_LCD_MCU
,
0
);
Delay_Time_Ctrl
(
3
0
);
Delay_Time_Ctrl
(
11
0
);
RTE_GPIO_Set_Level
(
VCC_33_EN_MCU
,
0
);
RTE_GPIO_Set_Level
(
VCC_33_EN_MCU
,
0
);
RTE_GPIO_Set_Level
(
VCC1V2_AMT_EN
,
0
);
RTE_GPIO_Set_Level
(
VCC1V2_AMT_EN
,
0
);
RTE_GPIO_Set_Level
(
MCU_RSTB_LCD
,
0
);
RTE_GPIO_Set_Level
(
MCU_RSTB_LCD
,
0
);
RTE_GPIO_Set_Level
(
x1530_EN_MCU
,
0
);
}
}
static
void
AMT630H_AliveCounterMonitor
(
void
)
static
void
AMT630H_AliveCounterMonitor
(
void
)
...
...
Firmware/Source/Component/PowerManagement/PowerManag_user.c
View file @
dfe4d3c8
...
@@ -168,8 +168,8 @@ static void Power_Sleep_Init(void)
...
@@ -168,8 +168,8 @@ static void Power_Sleep_Init(void)
TMM1_Stop
();
TMM1_Stop
();
TMM_All_Stop
();
TMM_All_Stop
();
RTE_ADC_DeInit
();
RTE_ADC_DeInit
();
Gpio_Init
(
Gpio_Sleep_Init
);
AMT630H_Sleep
();
AMT630H_Sleep
();
Gpio_Init
(
Gpio_Sleep_Init
);
Analog_Signal_Conv_Stop
();
Analog_Signal_Conv_Stop
();
RTE_UART_Sleep_Init
(
UART_CH2
);
RTE_UART_Sleep_Init
(
UART_CH2
);
CGC_HSI_CFG_AS_FCLK
();
/* 配置时钟生成控制器(cgc)以将内部高速振荡器(HSI)作为CPU系统时钟(FCLK)以及可能的其他硬件电路的时钟源。 */
CGC_HSI_CFG_AS_FCLK
();
/* 配置时钟生成控制器(cgc)以将内部高速振荡器(HSI)作为CPU系统时钟(FCLK)以及可能的其他硬件电路的时钟源。 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment