STM32 Mini M4 and USB Virtual Com Port

General discussion on mikroC PRO for ARM.
Post Reply
Author
Message
alexm37
Posts: 5
Joined: 29 Aug 2013 15:36

STM32 Mini M4 and USB Virtual Com Port

#1 Post by alexm37 » 08 Apr 2022 12:10

Hi,

I have used the USB CDC Library for the virtual COM-Port successfully in the past using the STM32F107.

Now I would like to use it with the Mini M4 Board (STM32F415RG) but I can't get it working. I also tried to use just the example from the library, changed only "edit project" to STM32F415RG_HSE_PLL Scheme and set the PLL Q-divider to 7 to get a 48 MHz USB Clock. No way...
Windows device manager says unknown USB device, error when requesting device description. The c code stopps at this position:
while(USBDev_GetDeviceState() != _USB_DEV_STATE_CONFIGURED) ;

However the same example code is working with the STM32F103. I don't know why. Any ideas? Thanks,Alex

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: STM32 Mini M4 and USB Virtual Com Port

#2 Post by filip » 14 Apr 2022 13:07

Hi,

Which version of the compiler are you using ?

Regards,
Filip.

alexm37
Posts: 5
Joined: 29 Aug 2013 15:36

Re: STM32 Mini M4 and USB Virtual Com Port

#3 Post by alexm37 » 19 Apr 2022 11:47

filip wrote:
14 Apr 2022 13:07
Hi,

Which version of the compiler are you using ?

Regards,
Filip.
Hi Filip,

always the latest one... V 6.2.0

Alex

Post Reply

Return to “mikroC PRO for ARM General”