cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F429I-DISCO USB FW Upgrade code issue

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.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
1 REPLY 1
Amel NASRI
ST Employee
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 Accept as Solution on the reply which solved your issue or answered your question.