Skip to main content
Tesla DeLorean
Guru
October 16, 2013
Question

STM32F429I-DISCO USB FW Upgrade code issue

  • October 16, 2013
  • 1 reply
  • 536 views
Posted on October 16, 2013 at 18:37

STM32F429I-Discovery_FW_V1.0.0\Projects\FW_upgrade\src\usb_bsp.c

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_PORT_SOURCE           GPIO_PortSourceGPIOE

#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

STM32F429I-Discovery_FW_V1.0.0\Projects\FW_upgrade\src\stm32f4xx_it.c

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.

    This topic has been closed for replies.

    1 reply

    Amel NASRI
    ST Technical Moderator
    October 23, 2013
    Posted on October 23, 2013 at 12:13

    Hi Clive1,

    Thanks for all your valuable feedbacks on the STM32F429I-DISCO.

    They will be taken into account as soon as possible.

    Just to be precise for users fixing the issues by themselves waiting for official release: OTG_FS_OC is PC5. PC4 is the OTG_FS_PSO.

    Best Regards

    -Mayla-

    To give better visibility on the answered topics, please click on "Best Answer" on the reply which solved your issue or answered your question.