Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stm32H7 USB-CDC on Stm32cubeIDE or Vscode #9

Open
autoprog opened this issue Apr 6, 2021 · 0 comments
Open

Stm32H7 USB-CDC on Stm32cubeIDE or Vscode #9

autoprog opened this issue Apr 6, 2021 · 0 comments

Comments

@autoprog
Copy link

autoprog commented Apr 6, 2021

Hi,
I have board H7 blue,
I need test whith CDC usb, my teste with Stm32cubeIDE problem clock setinng for USB.
ENABLE USB DEVICE = error clock set

GPIO test ok

see code:

MX_GPIO_Init();
MX_USB_DEVICE_Init();

while (1)
{
CDC_Transmit_HS( buf, sizeof(buf));
HAL_GPIO_TogglePin(GPIOA , LED_A10_Pin);
HAL_GPIO_TogglePin(GPIOA , LED_A15_Pin);
HAL_Delay(2000);
}

thanks,
Carlos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant