Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
VC66_7C
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
ISUZU
VC66_7C
Commits
344ac855
Commit
344ac855
authored
Sep 28, 2023
by
hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整上电时序
parent
38aa18bc
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
8 deletions
+21
-8
PowerManagement_user.c
...ce/Application/APP/PowerManagement/PowerManagement_user.c
+11
-2
Graphic.c
source/Driver/Graphic/Graphic.c
+4
-2
TimerB.c
source/Driver/Timer/TimerB.c
+1
-1
r_ddb_timing.c
source/Graphic/macro/vo/ddb/src/r_ddb_timing.c
+1
-1
init.c
source/System/init.c
+4
-2
No files found.
source/Application/APP/PowerManagement/PowerManagement_user.c
View file @
344ac855
...
...
@@ -66,6 +66,7 @@
static
uint8_t
PowerGetNMStatus
(
void
);
extern
void
SEG_LCD_Window_Switch
(
uint8_t
Sw
);
extern
void
DelayUs
(
uint32_t
time
);
Power_Status_t
Power_KL30_Init
(
void
)
{
...
...
@@ -121,6 +122,7 @@ Power_Status_t Power_KL30_Init ( void )
void
Power_Sleep_Init
(
void
)
{
uint16_t
i
=
0
;
/*数据*/
Speed_Sleep_Init
();
Tacho_Sleep_Init
();
...
...
@@ -169,18 +171,25 @@ void Power_Sleep_Init(void)
RSCAN0_CH2_Abort
(
RSCAN_CHANNEL_BUF_11
);
RSCAN0_CH2_Abort
(
RSCAN_CHANNEL_BUF_12
);
RSCAN0_CH2_Abort
(
RSCAN_CHANNEL_BUF_13
);
RSCAN0_Sleep_Init
();
VCC12V0_OUT_EN
=
0u
;
/*12V 电源使能*/
VCC05V0_OUT_EN
=
0u
;
/*外设5V 电源使能*/
D1530_EN_MCU_OUT
=
0u
;
/*1530 使能*/
//BL_ACC_EN = 1U; /*8867 使能*/
Fuel_VCC05V_OUT_EN
=
0u
;
/*燃油电源 使能*/
AIR_5V_OUT_EN
=
0u
;
/*气压 5V*/
ACC5V_LED_PWM_MCU
=
0u
;
BUZZER_ACC_OUT_EN
=
0u
;
MCU_STBYB_LCD_OUT
=
0
;
for
(
i
=
0
;
i
<=
55
;
i
++
)
{
DelayUs
(
10000
);
}
//MCU_RSTB_LCD_OUT = 0;
//MCU_DCLK_OUT = 0;
//D1530_EN_MCU_OUT = 0u; /*1530 使能*/
GPIO_Init
(
GPIO_SLEEP_MODE
);
}
...
...
source/Driver/Graphic/Graphic.c
View file @
344ac855
...
...
@@ -40,7 +40,7 @@
#define GFX_REG_OLDI0CHCR (0xF2002010UL)
#define GFX_REG_OLDI0SKEWCTR (0xF2002070UL)
extern
void
DelayUs
(
uint32_t
time
);
...
...
@@ -452,8 +452,10 @@ void Gfx_Sys_Start(void)
R_WM_DevInit
(
GFX_WM_UNIT
,
g_stGfxWMMsgQueue
,
GFX_WM_MSG_QUEUE_LEN
,
0
,
&
g_stGfxIRAMheap
,
&
g_stGfxSDRAMheap
);
MCU_STBYB_LCD_OUT
=
1U
;
MCU_RSTB_LCD_OUT
=
1U
;
MCU_DCLK_OUT
=
1u
;
DelayUs
(
20000
);
MCU_STBYB_LCD_OUT
=
1U
;
R_WM_ScreenTimingSetByName
(
GFX_WM_UNIT
,
(
const
int8_t
*
)
GFX_DISPLAY_NAME
);
R_WM_ScreenColorFormatSet
(
GFX_WM_UNIT
,
(
R_WM_OUTCOLORFMT_RGB888
|
R_WM_OUTCOLORFMT_FLAG_SWAP_BR
|
R_WM_OUTCOLORFMT_FLAG_ENDIAN
));
...
...
source/Driver/Timer/TimerB.c
View file @
344ac855
...
...
@@ -506,7 +506,7 @@ static void TimerB_BackLight_Demo_Init(void)
//8867_BL_PWM TFT背光
TimerB_PWM_Channel_Init
(
TIMERB_2_CH1
,
TIMERB_CLOCK_0
,
TIMERB_HIGH
);
TimerB_PWM_Channel_Fre_Set
(
TIMERB_2_CH1
,
3
000U
,
0u
);
TimerB_PWM_Channel_Fre_Set
(
TIMERB_2_CH1
,
20
000U
,
0u
);
TimerB_PWM_Channel_Start
(
TIMERB_2_CH1
);
//水温白灯
...
...
source/Graphic/macro/vo/ddb/src/r_ddb_timing.c
View file @
344ac855
...
...
@@ -95,7 +95,7 @@ static const r_ddb_Timing_t loc_DisplayMode[] = {
//(uint32_t)R_DDB_DISP_FLAG_VSYNC_ACTHI |
(
uint32_t
)
R_DDB_DISP_FLAG_NEGCLK
),
2
0000000u
},
3
0000000u
},
{
"AUO_C103VAN01_1_1280x480"
,
1280
,
480u
,
...
...
source/System/init.c
View file @
344ac855
...
...
@@ -140,7 +140,6 @@ void Sys_Startup_Init(void)
IGH_5VLED
=
1
;
/* 42-7*/
DelayUs
(
50000
);
VCC12V0_OUT_EN
=
1u
;
/*12V 电源使能 3-3*/
D1530_EN_MCU_OUT
=
1u
;
/*1530 使能 42-14*/
Fuel_VCC05V_OUT_EN
=
1u
;
/*燃油电源 使能 3-5*/
AIR_5V_OUT_EN
=
1u
;
/*气压 5V 3-4*/
ACC5V_LED_PWM_MCU
=
1u
;
/*42-6*/
...
...
@@ -203,7 +202,10 @@ void Sys_Startup_Init(void)
/*外发要用到EEP数据,位置移动*/
COM_CAN_Init
();
Gfx_Sys_Start
();
Gfx_Sys_Start
();
/*TFT_INIT*/
DelayUs
(
20000
);
D1530_EN_MCU_OUT
=
1u
;
/*1530 使能 42-14*/
}
/**************************************************************************//**
...
...
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