All hi and happy New Year!
There is a device with MCU STM32F103RC, HSE OSC crystal 12 MHZ, USBclock = PLLx4 (48 MHZ), PCLK1=12 MHZ.
I try an example with use of USB Library mikroBasic for ARM 3.0.0 "HID_Read_Write_Polling" (USB HID Read & Write Test) with HID Terminal.
Device is defined as unknown USB Device!
Help to understand what a problem?
Maybe it is necessary to make any changes in module Descriptor?
The same example with use of a board
STM32F4-Discovery (MCU STM32F407VG) works!
Best regards, Valery
Problem when using library of USB HID device for STM32
-
- Posts: 8
- Joined: 21 Feb 2013 12:03
- marina.petrovic
- Posts: 2986
- Joined: 18 Apr 2013 08:11
Re: Problem when using library of USB HID device for STM32
Hi,
Please, to be sure, update your compiler, mikroBasic PRO for ARM.
Last version of our compiler is v4.5.0 and can be downloaded from our Website: http://www.mikroe.com/mikrobasic/arm/
If you want to adjust existing example from compiler for MCU which you use,
you need to adjust every part of the example with the help of STM32F103RC Reference Manual.
http://www.st.com/st-web-ui/static/acti ... 171190.pdf
First double check your oscillator settings in Project -> Edit Project to be sure (check which clock should be used for proper USB communication).
Best regards,
Marina
Please, to be sure, update your compiler, mikroBasic PRO for ARM.
Last version of our compiler is v4.5.0 and can be downloaded from our Website: http://www.mikroe.com/mikrobasic/arm/
If you want to adjust existing example from compiler for MCU which you use,
you need to adjust every part of the example with the help of STM32F103RC Reference Manual.
http://www.st.com/st-web-ui/static/acti ... 171190.pdf
First double check your oscillator settings in Project -> Edit Project to be sure (check which clock should be used for proper USB communication).
Best regards,
Marina
-
- Posts: 8
- Joined: 21 Feb 2013 12:03
Re: Problem when using library of USB HID device for STM32
Hi !
Thanks for the help. I, seem solved a problem. I not correctly realized program pull-up of an input of the DP USB interface.
Best regards,
Valery.
Thanks for the help. I, seem solved a problem. I not correctly realized program pull-up of an input of the DP USB interface.
Best regards,
Valery.
Re: Problem when using library of USB HID device for STM32
hello,
i have problèm to add the API MYSQL to microC for arm , can you help me please ??
i have problèm to add the API MYSQL to microC for arm , can you help me please ??