Search found 6 matches

by marcoferd
Mon Jul 03, 2017 5:06 pm
Forum: ChibiOS/HAL
Topic: Serial over USB driver STM32L0xx
Replies: 10
Views: 7308

Re: Serial over USB driver STM32L0xx

Hi Rocco,

I was starting from STM32F401RE since I have a physical board, but Giovanni said that its more complicated than starting from F0. For this reason I'm doing the porting of the demo STM32F0xx-USB_CDC for the ST_NUCLEO64_L073RZ.

Thanks,

Marco
by marcoferd
Mon Jul 03, 2017 4:35 pm
Forum: ChibiOS/HAL
Topic: Serial over USB driver STM32L0xx
Replies: 10
Views: 7308

Re: Serial over USB driver STM32L0xx

Hi Rocco,

I had the problem you say. I have set
STM32_ST_USE_TIMER 2

but the problem still exist and I need to set the CH_CFG_ST_RESOLUTION from 32 to 16.
#define CH_CFG_ST_RESOLUTION 16

Finally, I still receive the same error: windows 43 error code (Windows has stopped this device because it ...
by marcoferd
Mon Jul 03, 2017 4:27 pm
Forum: ChibiOS/HAL
Topic: Serial over USB driver STM32L0xx
Replies: 10
Views: 7308

Re: Serial over USB driver STM32L0xx

Hi,

I have solved the error by setting the CH_CGF_ST_RESOLUTION to 16 in the chconf.h file (it was set to 32). Now there aren't any errors but when I connect the USB to the PC i receive the windows 43 error code (Windows has stopped this device because it has reported problems. (Code 43)).

How can ...
by marcoferd
Mon Jul 03, 2017 3:58 pm
Forum: ChibiOS/HAL
Topic: Serial over USB driver STM32L0xx
Replies: 10
Views: 7308

Re: Serial over USB driver STM32L0xx

Hi,

I have started from the driver STM32F0xx-USB_CDC but i still have problems. Following I list all the steps:
-I have made the necessary changes in debug configurations;
-I have changed the pointed board (replacing with ST_NUCLEO64_L073RZ );
-I have changed the pointed files in the make file;
-I ...
by marcoferd
Mon Jul 03, 2017 11:04 am
Forum: ChibiOS/HAL
Topic: Serial over USB driver STM32L0xx
Replies: 10
Views: 7308

Re: Serial over USB driver STM32L0xx

Hi,

thanks for the answer. Since I have a NUCLEO-F401RE and there is the F4xx demo for USB-CDC, I'm trying to start from it in order to make the porting for the STM32L0. First of all, I'm trying to test the demo on the Nucleo STM32F401RE after that I've changed the board pointed by the ChibiStudio ...
by marcoferd
Fri Jun 30, 2017 6:21 pm
Forum: ChibiOS/HAL
Topic: Serial over USB driver STM32L0xx
Replies: 10
Views: 7308

Serial over USB driver STM32L0xx

Hi,

I'm developing an application based on a board integrating the MCU STM32L052K8 and i need to build a USB to SPI bridge. Are there any example codes using the Serial over USB driver (USB CDC) running on MCU belonging to STM32L0 family?

Thanks in advantage,

Marco Ferdinandi