Posted on June 25, 2014 at 10:20Hi everybody, I recently tried to port my STM32F4Disco poject to the new CubeMX firmware 1.2. The first issue I encountered was that the program did not pass the SystemClock_Config function. While debugging and compar...
Posted on April 11, 2014 at 10:07Hey everybody, in order to initialize a working Virtual Com Port with CubeMX on the STM32F4 Discovery, I had to change pdev->pClassData = USBD_malloc(sizeof (USBD_CDC_HandleTypeDef)); to pdev->pClassData = (void ...
Posted on March 05, 2014 at 11:32Hey everybody, Is it somehow possible to start/enable/trigger a DMA transfer with the help of another DMA transfer? I'm thinking of the following scenario: - DMA transfer 1 is timer triggered (every 1us) and transfer...
Posted on May 09, 2014 at 12:37Thanks for the advice Simon. I will try this later. Andrii: You will only have to add ''#include ''usbd_cdc.h'' to your private includes in main.c. Then you should be able to call the usb_cdc functions.
Posted on April 16, 2014 at 14:47 Here's a VCP mirror for STM32F4 Discovery. The main skeleton was build with CubeMX. The included project is suited for Keil MDK. I described the minor code changes in another [DEAD LINK /public/STe2ecommunities/mc...
Posted on April 16, 2014 at 13:44I have a FS connection since STM32F4 Discovery supports FS by default. And you're right, changing HS packet size should not affect FS connections. But when you take a look at the definition of USBD_CDC_HandleTypeDef ...
Posted on March 26, 2014 at 19:18Just a little update that might help you out: after another day of debugging the USB CDC firmware (the VCP would show up but always with error code 10, saying the device couldn't be started), I figured that CubeMX di...