stm32/boards/STM32F769DISC: Support the use of USB HS with external PHY.

This commit is contained in:
Damien George 2019-02-07 16:26:46 +11:00
parent b26046aca2
commit be1b1835c3
2 changed files with 14 additions and 5 deletions

View File

@ -73,11 +73,8 @@
#define MICROPY_HW_SDCARD_DETECT_PULL (GPIO_PULLUP)
#define MICROPY_HW_SDCARD_DETECT_PRESENT (GPIO_PIN_RESET)
// USB config (CN13 - USB OTG FS)
#define MICROPY_HW_USB_HS (1)
#define MICROPY_HW_USB_HS_IN_FS (1)
/*#define MICROPY_HW_USB_VBUS_DETECT_PIN (pin_J12)*/
#define MICROPY_HW_USB_OTG_ID_PIN (pin_J12)
// USB config (CN15 - USB OTG HS with external PHY)
#define MICROPY_HW_USB_HS (1)
#if 0
// Optional SDRAM configuration; requires SYSCLK <= 200MHz

View File

@ -51,6 +51,18 @@ USB_VBUS,PJ12
USB_ID,PA8
USB_DM,PA11
USB_DP,PA12
USB_HS_CLK,PA5
USB_HS_STP,PC0
USB_HS_NXT,PH4
USB_HS_DIR,PI11
USB_HS_D0,PA3
USB_HS_D1,PB0
USB_HS_D2,PB1
USB_HS_D3,PB5
USB_HS_D4,PB10
USB_HS_D5,PB11
USB_HS_D6,PB12
USB_HS_D7,PB13
UART1_TX,PA9
UART1_RX,PA10
UART5_TX,PC12

1 A0 PA0
51 USB_ID PA8
52 USB_DM PA11
53 USB_DP PA12
54 USB_HS_CLK PA5
55 USB_HS_STP PC0
56 USB_HS_NXT PH4
57 USB_HS_DIR PI11
58 USB_HS_D0 PA3
59 USB_HS_D1 PB0
60 USB_HS_D2 PB1
61 USB_HS_D3 PB5
62 USB_HS_D4 PB10
63 USB_HS_D5 PB11
64 USB_HS_D6 PB12
65 USB_HS_D7 PB13
66 UART1_TX PA9
67 UART1_RX PA10
68 UART5_TX PC12