2023-01-20 03:40 AM
2023-01-20 05:24 AM
Hello @Kranthi Reddy ,
You can refer to the repository : Repository\STM32Cube_FW_L0_V1.12.1\Projects\STM32L073Z-EVAL\Applications\USB_Device
Download the STM32L0 Cube : STM32CubeL0 - STM32Cube MCU Package for STM32L0 series (HAL, Low-Layer APIs and CMSIS, USB, File system, RTOS, Touch Sensing - and examples running on ST boards) - STMicroelectronics
BR,
Foued
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.
2023-01-20 07:00 AM
Start by deciding what USB device class you want to implement. It should probably by CDC (virtual COM port) or HID. Then look for CubeIDE HOWTOs and examples. Both classes may be easily created with CubeIDE, although there are some nasty details which must be handled properly..
2023-01-23 11:13 PM
I want to use communication class first and later i want to use human interface device. I've been trying from past 4 days but not able transmit and receive. Can i get any simple transmit and receive code or example through USB-device only-communication class and USB-device only-HID mode.
It will be much helpful for me, if someone help.