cancel
Showing results for 
Search instead for 
Did you mean: 

USB port on 32L152CDISCOVERY

bnp979
Associate III
Posted on October 22, 2014 at 09:16

Hi,

I notice that the 32L152CDISCOVERY device has only1 USB port, which is connected to the ST-LINK V2 part. Can I configure this port for ''user'' USB communication as part of my application running on the STM32L152 device?

If so, can Isomehow enable both user USB communication as well of debugging using ST-LINK?

Thanks,

Ben

3 REPLIES 3
chen
Associate II
Posted on October 22, 2014 at 10:31

Hi

''I notice that the 32L152CDISCOVERY device has only1 USB port, which is connected to the ST-LINK V2 part. Can I configure this port for ''user'' USB communication as part of my application running on the STM32L152 device?''

NO.

That USB is not even connected to the STM32L152. It is connected to the other STM32 device which is acting as a debugger interface.

bnp979
Associate III
Posted on October 23, 2014 at 06:07

That's disappointing. I wonder why they would not enable a capability as important as USB if they build an evaluation board for the device. <end of rant>

In any case, can somebody suggest an evaluation board for the STM32L152 family (STM32L152RC preferably) which can be used for USB development?

I checked out NUCLEO-L152RE but again it doesn't seemed like the USB peripheral has been brought out to a USB port.

Thanks,

Ben

Posted on October 23, 2014 at 06:32

There used to be the

http://www.farnell.com/datasheets/1681548.pdf

, but it's obsolete now. At the last L1 seminar they had spun the silicon, and now they are pushing the L0 into the low power slot.

http://www.mouser.com/ProductDetail/STMicroelectronics/STM32L152-SK-IAR/?qs=HHordE0x6qYLvD3JXHjeJQ%3D%3D

https://www.olimex.com/Products/ARM/ST/STM32-P152/

The Nucleo should permit you to escape the L1's USART via a VCP on the ST-LINK interface.

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..