Skip to content

Commit 118b4b3

Browse files
author
Sree Harsha Angara
committed
Fixing clock for greentea cordio test
1 parent 3b6020c commit 118b4b3

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_CYESKIT_064B0S2_4343W/COMPONENT_BSP_DESIGN_MODUS/GeneratedSource/cycfg_peripherals.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ extern "C" {
3737

3838
#define CYBSP_CSD_ENABLED 1U
3939
#define CY_CAPSENSE_CORE 4u
40-
#define CY_CAPSENSE_CPU_CLK 100000000u
41-
#define CY_CAPSENSE_PERI_CLK 50000000u
40+
#define CY_CAPSENSE_CPU_CLK 96000000u
41+
#define CY_CAPSENSE_PERI_CLK 48000000u
4242
#define CY_CAPSENSE_VDDA_MV 3300u
4343
#define CY_CAPSENSE_PERI_DIV_TYPE CY_SYSCLK_DIV_8_BIT
4444
#define CY_CAPSENSE_PERI_DIV_INDEX 0u

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_CYESKIT_064B0S2_4343W/COMPONENT_BSP_DESIGN_MODUS/GeneratedSource/cycfg_system.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@
3636
#define CY_CFG_SYSCLK_CLKFAST_ENABLED 1
3737
#define CY_CFG_SYSCLK_FLL_ENABLED 1
3838
#define CY_CFG_SYSCLK_CLKHF0_ENABLED 1
39-
#define CY_CFG_SYSCLK_CLKHF0_FREQ_MHZ 100UL
39+
#define CY_CFG_SYSCLK_CLKHF0_FREQ_MHZ 96UL
4040
#define CY_CFG_SYSCLK_CLKHF0_CLKPATH CY_SYSCLK_CLKHF_IN_CLKPATH0
4141
#define CY_CFG_SYSCLK_CLKHF2_ENABLED 1
42-
#define CY_CFG_SYSCLK_CLKHF2_FREQ_MHZ 50UL
42+
#define CY_CFG_SYSCLK_CLKHF2_FREQ_MHZ 48UL
4343
#define CY_CFG_SYSCLK_CLKHF2_CLKPATH CY_SYSCLK_CLKHF_IN_CLKPATH0
4444
#define CY_CFG_SYSCLK_CLKHF3_ENABLED 1
45-
#define CY_CFG_SYSCLK_CLKHF3_FREQ_MHZ 100UL
45+
#define CY_CFG_SYSCLK_CLKHF3_FREQ_MHZ 96UL
4646
#define CY_CFG_SYSCLK_CLKHF3_CLKPATH CY_SYSCLK_CLKHF_IN_CLKPATH0
4747
#define CY_CFG_SYSCLK_CLKHF4_ENABLED 1
48-
#define CY_CFG_SYSCLK_CLKHF4_FREQ_MHZ 100UL
48+
#define CY_CFG_SYSCLK_CLKHF4_FREQ_MHZ 96UL
4949
#define CY_CFG_SYSCLK_CLKHF4_CLKPATH CY_SYSCLK_CLKHF_IN_CLKPATH0
5050
#define CY_CFG_SYSCLK_ILO_ENABLED 1
5151
#define CY_CFG_SYSCLK_IMO_ENABLED 1
@@ -71,16 +71,16 @@
7171

7272
static const cy_stc_fll_manual_config_t srss_0_clock_0_fll_0_fllConfig =
7373
{
74-
.fllMult = 500U,
75-
.refDiv = 20U,
74+
.fllMult = 504U,
75+
.refDiv = 21U,
7676
.ccoRange = CY_SYSCLK_FLL_CCO_RANGE4,
7777
.enableOutputDiv = true,
7878
.lockTolerance = 10U,
7979
.igain = 9U,
80-
.pgain = 5U,
80+
.pgain = 4U,
8181
.settlingCount = 8U,
8282
.outputMode = CY_SYSCLK_FLLPLL_OUTPUT_OUTPUT,
83-
.cco_Freq = 355U,
83+
.cco_Freq = 320U,
8484
};
8585
#if defined (CY_USING_HAL)
8686
const cyhal_resource_inst_t srss_0_clock_0_pathmux_0_obj =

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_CYESKIT_064B0S2_4343W/COMPONENT_BSP_DESIGN_MODUS/design.modus

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@
286286
<Block location="srss[0].clock[0].fll[0]">
287287
<Personality template="mxs40fll" version="1.0">
288288
<Param id="configuration" value="auto"/>
289-
<Param id="desiredFrequency" value="100.000"/>
289+
<Param id="desiredFrequency" value="96.000"/>
290290
</Personality>
291291
</Block>
292292
<Block location="srss[0].clock[0].hfclk[0]">

0 commit comments

Comments
 (0)