2014-10-22 12:16 AM
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, Ben2014-10-22 01:31 AM
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.2014-10-22 09:07 PM
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, Ben2014-10-22 09:32 PM
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.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.