AnsweredAssumed Answered

STM32F429I-DISCO USB FW Upgrade code issue

Question asked by Clive One on Oct 16, 2013
Latest reply on Oct 23, 2013 by Amel N

PE1 (SDRAM NBL1) is NOT the over current pin, OTG_FS_OC is PC4 per the schematic

#define HOST_OVRCURR_PORT                  GPIOE
#define HOST_OVRCURR_LINE                  GPIO_Pin_1
#define HOST_OVRCURR_PIN_SOURCE            GPIO_PinSource1
#define HOST_OVRCURR_PORT_RCC              RCC_APB2Periph_GPIOE
#define HOST_OVRCURR_EXTI_LINE             EXTI_Line1
#define HOST_OVRCURR_IRQn                  EXTI1_IRQn

This is compounded elsewhere with an EXTI Interrupt Handler

Not sure any of this is used here, but it clearly came from somewhere else.

Also the USE_ACCURATE_TIME makes assumptions about the TIMCLK being 72 MHz (6 * 12), which again needs more thought in the porting.