Commit c0876f57 authored by Adam Wujek's avatar Adam Wujek

bootloader: clock changes (not used clocks?)

Signed-off-by: 's avatarAdam Wujek <dev_public@wujek.eu>
parent 42058a96
Pipeline #3665 passed with stage
in 43 seconds
...@@ -27,17 +27,17 @@ drivers: ...@@ -27,17 +27,17 @@ drivers:
api: HAL:HPL:GCLK api: HAL:HPL:GCLK
configuration: configuration:
$input: 8000000 $input: 8000000
$input_id: 8MHz Internal Oscillator (OSC8M) $input_id: External Crystal Oscillator 0.4-32MHz (XOSC)
RESERVED_InputFreq: 8000000 RESERVED_InputFreq: 8000000
RESERVED_InputFreq_id: 8MHz Internal Oscillator (OSC8M) RESERVED_InputFreq_id: External Crystal Oscillator 0.4-32MHz (XOSC)
_$freq_output_Generic clock generator 0: 24000000 _$freq_output_Generic clock generator 0: 24000000
_$freq_output_Generic clock generator 1: 31250 _$freq_output_Generic clock generator 1: 31250
_$freq_output_Generic clock generator 2: 48000000 _$freq_output_Generic clock generator 2: 48000000
_$freq_output_Generic clock generator 3: 400000 _$freq_output_Generic clock generator 3: 400000
_$freq_output_Generic clock generator 4: 8000000 _$freq_output_Generic clock generator 4: 8000000
_$freq_output_Generic clock generator 5: 400000 _$freq_output_Generic clock generator 5: 8000000
_$freq_output_Generic clock generator 6: 400000 _$freq_output_Generic clock generator 6: 8000000
_$freq_output_Generic clock generator 7: 400000 _$freq_output_Generic clock generator 7: 8000000
enable_gclk_gen_0: true enable_gclk_gen_0: true
enable_gclk_gen_0__externalclock: 1000000 enable_gclk_gen_0__externalclock: 1000000
enable_gclk_gen_1: true enable_gclk_gen_1: true
...@@ -477,14 +477,14 @@ drivers: ...@@ -477,14 +477,14 @@ drivers:
functionality: System functionality: System
api: HAL:HPL:SYSCTRL api: HAL:HPL:SYSCTRL
configuration: configuration:
$input: 31250 $input: 3542.9583702391496
$input_id: Generic clock generator 1 $input_id: External Crystal Oscillator 0.4-32MHz (XOSC)
RESERVED_InputFreq: 31250 RESERVED_InputFreq: 3542.9583702391496
RESERVED_InputFreq_id: Generic clock generator 1 RESERVED_InputFreq_id: External Crystal Oscillator 0.4-32MHz (XOSC)
_$freq_output_8MHz Internal Oscillator (OSC8M): 8000000 _$freq_output_8MHz Internal Oscillator (OSC8M): 8000000
_$freq_output_Digital Frequency Locked Loop (DFLL48M): 48000000 _$freq_output_Digital Frequency Locked Loop (DFLL48M): 48000000
_$freq_output_External Crystal Oscillator 0.4-32MHz (XOSC): 400000 _$freq_output_External Crystal Oscillator 0.4-32MHz (XOSC): '8000000'
_$freq_output_Fractional Digital Phase Locked Loop (FDPLL96M): 45775390.625 _$freq_output_Fractional Digital Phase Locked Loop (FDPLL96M): 21257.750221434897
dfll48m_arch_bplckc: false dfll48m_arch_bplckc: false
dfll48m_arch_calibration: false dfll48m_arch_calibration: false
dfll48m_arch_ccdis: true dfll48m_arch_ccdis: true
...@@ -514,10 +514,10 @@ drivers: ...@@ -514,10 +514,10 @@ drivers:
fdpll96m_arch_lbypass: true fdpll96m_arch_lbypass: true
fdpll96m_arch_ondemand: false fdpll96m_arch_ondemand: false
fdpll96m_arch_runstdby: false fdpll96m_arch_runstdby: false
fdpll96m_clock_div: 1 fdpll96m_clock_div: 1128
fdpll96m_ldr: 1463 fdpll96m_ldr: 5
fdpll96m_ldrfrac: 13 fdpll96m_ldrfrac: 0
fdpll96m_ref_clock: Generic clock generator 1 fdpll96m_ref_clock: External Crystal Oscillator 0.4-32MHz (XOSC)
osc32k_arch_calib: 0 osc32k_arch_calib: 0
osc32k_arch_en1k: false osc32k_arch_en1k: false
osc32k_arch_en32k: false osc32k_arch_en32k: false
...@@ -545,14 +545,14 @@ drivers: ...@@ -545,14 +545,14 @@ drivers:
xosc32k_arch_startup: 122 us xosc32k_arch_startup: 122 us
xosc32k_arch_wrtlock: false xosc32k_arch_wrtlock: false
xosc32k_arch_xtalen: true xosc32k_arch_xtalen: true
xosc_arch_ampgc: false xosc_arch_ampgc: true
xosc_arch_enable: false xosc_arch_enable: false
xosc_arch_gain: 2Mhz xosc_arch_gain: 8Mhz
xosc_arch_ondemand: true xosc_arch_ondemand: false
xosc_arch_runstdby: false xosc_arch_runstdby: true
xosc_arch_startup: 31 us xosc_arch_startup: 125000 us
xosc_arch_xtalen: false xosc_arch_xtalen: true
xosc_frequency: 400000 xosc_frequency: 8000000
optional_signals: [] optional_signals: []
variant: null variant: null
clocks: clocks:
......
...@@ -291,7 +291,7 @@ ...@@ -291,7 +291,7 @@
// <i> Oscillation frequency of the resonator connected to the External Multipurpose Crystal Oscillator. // <i> Oscillation frequency of the resonator connected to the External Multipurpose Crystal Oscillator.
// <id> xosc_frequency // <id> xosc_frequency
#ifndef CONF_XOSC_FREQUENCY #ifndef CONF_XOSC_FREQUENCY
#define CONF_XOSC_FREQUENCY 400000 #define CONF_XOSC_FREQUENCY 8000000
#endif #endif
// <h> External Multipurpose Crystal Oscillator (XOSC) Control // <h> External Multipurpose Crystal Oscillator (XOSC) Control
...@@ -308,7 +308,7 @@ ...@@ -308,7 +308,7 @@
// <i> If this bit is 1: the oscillator will only be running when requested by a peripheral. // <i> If this bit is 1: the oscillator will only be running when requested by a peripheral.
// <id> xosc_arch_ondemand // <id> xosc_arch_ondemand
#ifndef CONF_XOSC_ONDEMAND #ifndef CONF_XOSC_ONDEMAND
#define CONF_XOSC_ONDEMAND 1 #define CONF_XOSC_ONDEMAND 0
#endif #endif
// <q> Run In Standby // <q> Run In Standby
...@@ -317,21 +317,21 @@ ...@@ -317,21 +317,21 @@
// <i> If this bit is 1: The oscillator is not stopped in standby sleep mode. // <i> If this bit is 1: The oscillator is not stopped in standby sleep mode.
// <id> xosc_arch_runstdby // <id> xosc_arch_runstdby
#ifndef CONF_XOSC_RUNSTDBY #ifndef CONF_XOSC_RUNSTDBY
#define CONF_XOSC_RUNSTDBY 0 #define CONF_XOSC_RUNSTDBY 1
#endif #endif
// <q> Enable XTAL // <q> Enable XTAL
// <i> Enable XTAL // <i> Enable XTAL
// <id> xosc_arch_xtalen // <id> xosc_arch_xtalen
#ifndef CONF_XOSC_XTALEN #ifndef CONF_XOSC_XTALEN
#define CONF_XOSC_XTALEN 0 #define CONF_XOSC_XTALEN 1
#endif #endif
// <q> Automatic Amplitude Control Enable // <q> Automatic Amplitude Control Enable
// <i> Indicates whether Automatic Amplitude Control is Enabled or not // <i> Indicates whether Automatic Amplitude Control is Enabled or not
// <id> xosc_arch_ampgc // <id> xosc_arch_ampgc
#ifndef CONF_XOSC_AMPGC #ifndef CONF_XOSC_AMPGC
#define CONF_XOSC_AMPGC 0 #define CONF_XOSC_AMPGC 1
#endif #endif
// <y> Gain of the Oscillator // <y> Gain of the Oscillator
...@@ -343,7 +343,7 @@ ...@@ -343,7 +343,7 @@
// <i> Select the Gain of the oscillator // <i> Select the Gain of the oscillator
// <id> xosc_arch_gain // <id> xosc_arch_gain
#ifndef CONF_XOSC_GAIN #ifndef CONF_XOSC_GAIN
#define CONF_XOSC_GAIN SYSCTRL_XOSC_GAIN_0_Val #define CONF_XOSC_GAIN SYSCTRL_XOSC_GAIN_2_Val
#endif #endif
// <y> Start up time for the External Oscillator // <y> Start up time for the External Oscillator
...@@ -367,7 +367,7 @@ ...@@ -367,7 +367,7 @@
// <i> Default: 31 us // <i> Default: 31 us
// <id> xosc_arch_startup // <id> xosc_arch_startup
#ifndef CONF_XOSC_STARTUP #ifndef CONF_XOSC_STARTUP
#define CONF_XOSC_STARTUP CONF_XOSC_STARTUP_TIME_31MCS #define CONF_XOSC_STARTUP CONF_XOSC_STARTUP_TIME_125000MCS
#endif #endif
// </h> // </h>
...@@ -600,7 +600,7 @@ ...@@ -600,7 +600,7 @@
// <i> Select the clock source. // <i> Select the clock source.
// <id> fdpll96m_ref_clock // <id> fdpll96m_ref_clock
#ifndef CONF_DPLL_GCLK #ifndef CONF_DPLL_GCLK
#define CONF_DPLL_GCLK GCLK_CLKCTRL_GEN_GCLK1_Val #define CONF_DPLL_GCLK GCLK_GENCTRL_SRC_XOSC
#endif #endif
#if (CONF_DPLL_GCLK == GCLK_GENCTRL_SRC_XOSC32K) #if (CONF_DPLL_GCLK == GCLK_GENCTRL_SRC_XOSC32K)
...@@ -648,21 +648,21 @@ ...@@ -648,21 +648,21 @@
// <i> Clock Division Factor (Applicable if reference clock is XOSC) // <i> Clock Division Factor (Applicable if reference clock is XOSC)
// <id> fdpll96m_clock_div // <id> fdpll96m_clock_div
#ifndef CONF_DPLL_DIV #ifndef CONF_DPLL_DIV
#define CONF_DPLL_DIV 1 #define CONF_DPLL_DIV 1128
#endif #endif
// <o>DPLL LDRFRAC<0-15> // <o>DPLL LDRFRAC<0-15>
// <i> Set the fractional part of the frequency multiplier. // <i> Set the fractional part of the frequency multiplier.
// <id> fdpll96m_ldrfrac // <id> fdpll96m_ldrfrac
#ifndef CONF_DPLL_LDRFRAC #ifndef CONF_DPLL_LDRFRAC
#define CONF_DPLL_LDRFRAC 13 #define CONF_DPLL_LDRFRAC 0
#endif #endif
// <o>DPLL LDR <0-4095> // <o>DPLL LDR <0-4095>
// <i> Set the integer part of the frequency multiplier. // <i> Set the integer part of the frequency multiplier.
// <id> fdpll96m_ldr // <id> fdpll96m_ldr
#ifndef CONF_DPLL_LDR #ifndef CONF_DPLL_LDR
#define CONF_DPLL_LDR 1463 #define CONF_DPLL_LDR 5
#endif #endif
// </h> // </h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment