[riot-notifications] [RIOT-OS/RIOT] TI CC3200 SimpleLink RIOT support (#11866)

benpicco notifications at github.com
Tue Jul 23 18:45:13 CEST 2019


benpicco commented on this pull request.



> +    /* SWD mode */
+    if (((HWREG(HIB1P2_BASE + HIB1P2_O_SOP_SENSE_VALUE) & 0xFF) == 0x2)) {
+        HWREG(OCP_SHARED_BASE + OCP_SHARED_O_GPIO_PAD_CONFIG_28) =
+                ((HWREG(OCP_SHARED_BASE + OCP_SHARED_O_GPIO_PAD_CONFIG_28) &
+                  ~0xC0F) |
+                 0x2);
+        HWREG(OCP_SHARED_BASE + OCP_SHARED_O_GPIO_PAD_CONFIG_29) =
+                ((HWREG(OCP_SHARED_BASE + OCP_SHARED_O_GPIO_PAD_CONFIG_29) &
+                  ~0xC0F) |
+                 0x2);
+    }
+
+    /* Override JTAG mux */
+    HWREG(OCP_SHARED_BASE + OCP_SHARED_O_CC3XX_DEV_PADCONF) |= 0x2;
+
+    /* Change UART pins(55,57) mode to PIN_MODE_0 if they are in PIN_MODE_1

What is the meaning of PIN_MODE_0  and PIN_MODE_1?
Is this always necessary or should it be done in the UAR driver? 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11866#pullrequestreview-265539480
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190723/b4892497/attachment.htm>


More information about the notifications mailing list