diff options
| author | hathach <[email protected]> | 2013-05-29 16:56:15 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-05-29 16:56:15 +0700 |
| commit | 04a641f0670eb448f561aa945ecc2a7cf0365469 (patch) | |
| tree | 794c92e42c21b9c2a765ab54a36497804c650b9d /demos | |
| parent | d5836751d913e2f7cb90bb1a4cdc95274d585a48 (diff) | |
ea4357 can be enumerated, but get setconfiugre value of 0
Diffstat (limited to 'demos')
| -rw-r--r-- | demos/bsp/boards/embedded_artists/board_ea4357.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/demos/bsp/boards/embedded_artists/board_ea4357.c b/demos/bsp/boards/embedded_artists/board_ea4357.c index 97e2ff949..0e2854e53 100644 --- a/demos/bsp/boards/embedded_artists/board_ea4357.c +++ b/demos/bsp/boards/embedded_artists/board_ea4357.c @@ -57,6 +57,13 @@ void board_init(void) // USB1 Power: EA4357 channel A U20 is enabled by SJ5 connected to pad 1-2, no more action required + // TODO Device only USB0 + // 1.5Kohm pull-up resistor is needed on the USB DP data signal. GPIO28 (base), P9_5 (LPC4357) controls + scu_pinmux(0x9, 5, MD_PUP|MD_EZI|MD_ZI, FUNC4); // GPIO5[18] + GPIO_SetDir(5, BIT_(18), 1); // output + GPIO_ClearValue(5, BIT_(18)); + + // init I2C and set up MIC2555 to have 15k pull-down on USB1 D+ & D- I2C_Init(LPC_I2C0, 100000); I2C_Cmd(LPC_I2C0, ENABLE); |
