mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-27 10:17:45 +08:00
ucans32k1: SPLLDIV2 set to 40Mhz
This commit is contained in:
committed by
David Sidrane
parent
50d9d05c10
commit
96e05481b4
@@ -109,10 +109,10 @@ const struct clock_configuration_s g_initial_clkconfig = {
|
|||||||
.spll =
|
.spll =
|
||||||
{
|
{
|
||||||
.mode = SCG_SPLL_MONITOR_DISABLE, /* SPLLCM */
|
.mode = SCG_SPLL_MONITOR_DISABLE, /* SPLLCM */
|
||||||
.div1 = SCG_ASYNC_CLOCK_DIV_BY_1, /* SPLLDIV1 */
|
.div1 = SCG_ASYNC_CLOCK_DIV_BY_2, /* SPLLDIV1 160 / 2 = 80Mhz */
|
||||||
.div2 = SCG_ASYNC_CLOCK_DIV_BY_2, /* SPLLDIV2 */
|
.div2 = SCG_ASYNC_CLOCK_DIV_BY_4, /* SPLLDIV2 160 / 4 = 40Mhz */
|
||||||
.prediv = 1, /* PREDIV */
|
.prediv = 1, /* PREDIV */
|
||||||
.mult = 40, /* MULT */
|
.mult = 40, /* MULT 8 / 1 * 40 / 2 = 160Mhz */
|
||||||
.src = 0, /* SOURCE */
|
.src = 0, /* SOURCE */
|
||||||
.initialize = true, /* Initialize */
|
.initialize = true, /* Initialize */
|
||||||
.locked = false, /* LK */
|
.locked = false, /* LK */
|
||||||
|
|||||||
Reference in New Issue
Block a user