2014-01-30 06:20 AM
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-stm322014-06-08 12:05 PM
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.