Skip to main content
kashubadmitry
Associate III
July 13, 2017
Question

Help with USB on stm32f723e-disco

  • July 13, 2017
  • 6 replies
  • 1604 views
Posted on July 13, 2017 at 10:00

Hello! 

I bought evaluation board: stm32f723e-disco

I want to communicate

stm32f7

23e-disco 

with PC through USB cable through virtual com-port

I use Keil as IDE.

Where can I find example project to start working with usb?

Thank You! 

    This topic has been closed for replies.

    6 replies

    ST Technical Moderator
    July 13, 2017
    Posted on July 13, 2017 at 10:36

    Hello

    Kashuba.Dmitry

    ,

    As there is no CDC example in the

    STM32CubeF7

    with STM32F723E-Discovery device, you can start with another working USB example andget inspired from this

    'CDC_Standalone'

    application, it may helpf you :

    STM32Cube_FW_F7_V1.7.0\Projects\STM32F769I_EVAL\Applications\USB_Device\CDC_Standalone

    Regards

    Imen

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
    kashubadmitry
    Associate III
    July 17, 2017
    Posted on July 17, 2017 at 13:37

    Thank You! Tell me please, how can I see the working of this example? What must I do?

    Thank You!

    ST Technical Moderator
    July 18, 2017
    Posted on July 18, 2017 at 15:55

    Hi,

    You find a readme.txt file describing how to use and test the example. You should follow the instructions detailed in this file.

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
    kashubadmitry
    Associate III
    July 20, 2017
    Posted on July 20, 2017 at 16:17

    Hi!

    Tell me please, what driver I need to setup on PC to work with board stm32f723-disco?

    Thank You!

    kashubadmitry
    Associate III
    July 20, 2017
    Posted on July 20, 2017 at 17:03

    I also have another question.

    I use Keil v.5

    1. I opened the project in folder STM32Cube_FW_F7_V1.7.0\Projects\STM32F769I_EVAL\Applications\USB_Device\CDC_Standalone\MDK-ARM

    2. in file 'main.c' in function 'int main (void)' I found function  'USBD_Init(&USBD_Device, &VCP_Desc, 0)';

    3. in the definition of the function

    'USBD_Init()' I found function  'USBD_LL_Init(pdev);'

    4. in

     the definition of th

    e

    function

    'USBD_LL_Init();' I found function  'HAL_PCD_Init(&hpcd);'

    5. in the

     definition of th

    e

    function

    'HAL_PCD_Init();' I found function  'HAL_PCD_MspInit(hpcd);'

    6. in the

     definition of th

    e

    function '

    HAL_PCD_MspInit();' in file 'stm32f7xx_hal_pcd.c' I DIDN'T FIND THE CONFIGURING OF THE GPIOs FOR USB

    7. through the search in file 'usbd_conf.c' of this project I found another definition of the function '

    HAL_PCD_MspInit();'

      where GPIOs are configured for USB!!!!!!

    WHY THE DEFINITION OF THE FUNCTION '

    HAL_PCD_MspInit();' IS IN FILE 'stm32f7xx_hal_pcd.c' (__weak void HAL_PCD_MspInit(PCD_HandleTypeDef *hpcd)), BUT NOT IN FILE '

    usbd_conf.c' (void HAL_PCD_MspInit(PCD_HandleTypeDef *hpcd))?

    Thank You!

    kashubadmitry
    Associate III
    July 21, 2017
    Posted on July 21, 2017 at 15:22

    Hi!

    while programming stm32f723 through st-link utility, error 0x08004000 was occurred.

    What does the error

    0x08004000 mean?

     What does the error 0x08000CB4 mean?

    Thank You!