We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4898450 commit 4203ec2Copy full SHA for 4203ec2
soc/ti/mspm0/mspm0g1x0x_g3x0x/soc.h
@@ -19,7 +19,18 @@ extern "C" {
19
20
/* clang-format off */
21
22
-#define POWER_STARTUP_DELAY (16)
+/*
23
+ * Per TRM Section 2.2.7 Peripheral Power Enable Control:
24
+ *
25
+ * After setting the ENABLE | KEY bits in the PWREN Register to enable a
26
+ * peripheral, wait at least 4 ULPCLK clock cycles before accessing the rest of
27
+ * the peripheral's memory-mapped registers. The 4 cycles allow for the bus
28
+ * isolation signals at the peripheral's bus interface to update.
29
30
+ * ULPCLK will either be equivalent or half of the main MCLK and CPUCLK,
31
+ * yielding the delay time of 8 cycles
32
+ */
33
+#define POWER_STARTUP_DELAY (8)
34
35
/* clang-format on */
36
0 commit comments