cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F10xxx USB developer kit

jsmaia
Associate II
Posted on December 20, 2007 at 18:43

STM32F10xxx USB developer kit

4 REPLIES 4
jsmaia
Associate II
Posted on May 17, 2011 at 12:20

Hi all!

I'm very new on ARM and USB program. I'm trying to run the Mass_Storage demo code of the STM32F10xxx USB developer kit but the the following loop never ends.

/* Wait until device is configured */

while (pInformation->Current_Configuration == 0)

{

NOP_Process();

}

I'm using CrossWorks V1.7 and a home made board with a 103RBT6 clocked at 10MHz. All others demos of the firmware library works good so I think my board is OK.

Thank you for any help.

Maia (from Brazil).

jsmaia
Associate II
Posted on May 17, 2011 at 12:20

Problem solved. Changed the cristal to 9 MHz and configured PLL to X8. Now running at 72 MHZ.

:D

sven-dennis
Associate
Posted on May 17, 2011 at 12:20

Hi,

I'm searching the USB developer kit download, where can I find this?

Cheers,

Sven

16-32micros
Associate III
Posted on May 17, 2011 at 12:20

Hi Maia,

Well Done, To run USB on STM32 performance line you need to configure the CPU at a fixed frequency of 72Mhz or 48Mhz because the USB analog cell needs the 48MHz for the Physical layer and Protocol compliancy with USB2.0 Full Speed :)

Regards, STOne32