diff options
| author | William D. Jones <[email protected]> | 2019-09-23 18:53:31 -0400 |
|---|---|---|
| committer | William D. Jones <[email protected]> | 2019-09-23 18:53:31 -0400 |
| commit | a6a79df9fb6864ad2d30dde85fd04c836f28f5d5 (patch) | |
| tree | e865de262f3a467dae05e399b68e298e11bb706b /src/portable/ti | |
| parent | 907bc3df9ba70c9a82ad2f98031879f17e2ad2b5 (diff) | |
msp430f5529: Enable clocks/PLL for msp_exp430f5529lp and enable USB
module in dcd_msp430x5xx; device does not enumerate.
Diffstat (limited to 'src/portable/ti')
| -rw-r--r-- | src/portable/ti/msp430x5xx/dcd_msp430x5xx.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/portable/ti/msp430x5xx/dcd_msp430x5xx.c b/src/portable/ti/msp430x5xx/dcd_msp430x5xx.c index b2df9e3b6..e9ca76853 100644 --- a/src/portable/ti/msp430x5xx/dcd_msp430x5xx.c +++ b/src/portable/ti/msp430x5xx/dcd_msp430x5xx.c @@ -43,6 +43,11 @@ void dcd_init (uint8_t rhport) { (void) rhport; + + // Enable the module! + USBKEYPID = USBKEY; + USBCNF |= (PUR_EN | USB_EN); + USBKEYPID = 0; } void dcd_int_enable (uint8_t rhport) |
