2017-07-17 07:17 AM
Hi,
I'm developing a bridge USB-SPI with a STM32L052 microcontroller. In this starting moment I'm developing the same application using the evaluation board STM32L073RZ. I'm using SW4STM32 IDE and STM32CubeL0 software. I'm looking for an example based on USB usage, but I haven't found yet.
Is there the USB driver for STM32L073RZ in the STM32CubeL0?
Are there any examples based on the USB?
Thanks in advance,
Marco FerdinandiSolved! Go to Solution.
2017-07-17 07:34 AM
Hi
marco.ferdinandi@sensichips.com
,Look to the ones available underSTM32Cube_FW_L0_V1.9.0\Projects\STM32L073Z_EVAL\Applications\USB_Device.
The device is the same (STM32L073), but you need to get rid of all BSP (board specific) code to run it in your own board.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2017-07-17 07:34 AM
Hi
marco.ferdinandi@sensichips.com
,Look to the ones available underSTM32Cube_FW_L0_V1.9.0\Projects\STM32L073Z_EVAL\Applications\USB_Device.
The device is the same (STM32L073), but you need to get rid of all BSP (board specific) code to run it in your own board.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2017-07-17 09:58 AM
Hi
st.mcu
, thanks for the answer. I've Imported the STM32L073Z_EVAL project and I have built it successfully. Now, what should I do in order to customize this cose for my specific board (STM32L073RZ Nucleo)? What do you mean with 'to get rid of all BSP'? Should I replace something? Thanks in advance. Marco2017-07-17 10:23 AM
The BSP code should be commented and the BSP related drivers have to be removed from the project to be used with the Nucleo.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2017-07-17 08:58 PM
hi,
you may also consider to use cubeMX to generate the whole project, just enable USB FS and Enable Virtual Com Portstack. Then it' almost done!