AnsweredAssumed Answered

stm32l151 usb

Question asked by jacoby.ron.001 on Dec 6, 2015
Latest reply on Dec 14, 2015 by rob.pat
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);

Outcomes