cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4DISCOVERY USB HS with SMS USB3320 problem

boris239955_stm1
Associate II
Posted on June 14, 2012 at 10:08

Hi to All,

Setup:

STM32F4DISCOVERY board connected to SMS USB3320 HS PHY.

CPU Clock : 168Mhz from HSI.

USB Class: MSC - mass storage device.

Problem:

The device descoravble by PC  I can see files on the Flash disk but when i trying to

make changes (save,open,delete .. ) the device removed and moved to unaccsseble state

(only reset helps).

I did change settings to work it as FS device MSC and no problems at ALL.

Do someone met same problem ?

Where to start looking ?

7 REPLIES 7
alok472
Associate II
Posted on June 14, 2012 at 15:34

AN3983  STM32F4DISCOVERY firmware examples

UM1467  Getting started for STM32F4DISCOVERY

Did you try CPU Clock from HSE instead of HSI ?

boris239955_stm1
Associate II
Posted on June 17, 2012 at 09:51

Hi, Thanks.

Yes i did try HSE (8Mhz).

tsuneo
Senior
Posted on June 20, 2012 at 18:07

How about the capacity of the power supply (or voltage regulator)?

FLASH erase/write, either on-chip or SD card, consumes more current than read.

In high-speed, data comes more frequently than in full-speed.

That is, the average current consumption is much greater in high-speed.write.

Also, ULPI PHY eats power a lot.

If your entire system would be supplied by the regulator (U1 LD3985M33R) on the Discovery board, it should get hot. For ULPI PHY (and external circuity), add another 3V3 regulator, supplied from 5V rail.

Tsuneo

boris239955_stm1
Associate II
Posted on June 24, 2012 at 08:03

Hi Tsuneo,

You are correct !!!

Place regulator for USB3320 and for uSD - it works Ok Now.

You are helpful as usual - thanks.

P.S

Is it same Tsuneo from F320 forum ?

tsuneo
Senior
Posted on June 27, 2012 at 08:16

> Is it same Tsuneo from F320 forum ?

Ya, I've sent many posts to the SiLabs Forum, but currently I'm not so active on the forum.

You'll find me on Keil, Microchip, LPCXpress, LPC2000, Freescale, MSP430, Stellaris and Axelson's forum, too.

Tsuneo

ian2399
Associate II
Posted on August 08, 2012 at 18:01

Hi Boris

Did I understand correctly that you managed to get STM32F4xx working at high-speed (not just full-speed) with USB3320? If so, that is really interesting because I (and others) have not been able to get it working with similar USB334x phys (search for USB3343 on this forum). I was hoping that changing to USB3320 (same pinout as my USB3340) would avoid having to make a new PCB. USB3320 does not support LPM function, which may be the cause of the problem with some other PHYS - it works at FS but not at HS. Thanks for your help!

boris239955_stm1
Associate II