Stm32f407 vs stm32f415 vcp driver
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-01-30 6:20 AM
Posted on January 30, 2014 at 15:20
Hello everybody!
I've a working vcp driver for stm32f4discovery board(stm32f407vg). Use the standard st usb library. This is working well. If I change the device with an stm32f415 mikrocontroller, the code is running, but at the device manager I don't see the com port. Is anybody have an idea what is the problem? The usb pins are the same. Thanks #usb-vcp-stm32
Labels:
- Labels:
-
USB
This discussion is locked. Please start a new topic to ask your question.
20 REPLIES 20
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-06-08 12:05 PM
Posted on June 08, 2014 at 21:05
120 MHz is more indicative of an STM32F2 device. For the F4 at 168 MHz one would need to double check the regulator settings, and the flash wait states.
From SetSysClock() /* Enable high performance mode, System frequency up to 168 MHz */ RCC->APB1ENR |= RCC_APB1ENR_PWREN; PWR->CR |= PWR_CR_PMODE; .. /* Configure Flash prefetch, Instruction cache, Data cache and wait state */ FLASH->ACR = FLASH_ACR_ICEN |FLASH_ACR_DCEN |FLASH_ACR_LATENCY_5WS; I am not using the new HAL/CUBE libraries at this time, and have no immediate plans to migrate given the very buggy state of current releases.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..

- « Previous
- Next »