cancel
Showing results for 
Search instead for 
Did you mean: 

stm32l151 usb

ron23
Associate
Posted on December 06, 2015 at 16:04

hi,

on a custom board, i ran into the following situation:

usb is connected to PA11,PA12 and working fine.

however, when reseting the usb subsystem pin PA7 is pulled high and remains high.

this pin is supposed to be used for some other function, and there's no reference for it in the usb docs.

i'm using code from STM32_USB-FS-Device_Lib_V4.0.0.

  wRegVal = CNTR_FRES;

  _SetCNTR(wRegVal);

2 REPLIES 2
Posted on December 06, 2015 at 16:55

You are going to need to look more critically at your board layout and connectivity, and at what your board support code is doing.

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
patrob680
Associate II
Posted on December 14, 2015 at 03:39

Hello Jacoby,

Nice to know you are also working with L151RD. I need to implement USB as mass storage for streaming with PC. I request some overview/direction of how to do that (without HAL). I am studying USB-FS lib, seems lots of work. 

Thank you in advance.