Please provide more details on your case: hardware and Software used, Error message if you have,... so that it will be easier to understand the issue.
Imen
In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
You'll probably want to review the working example from B-L4S5I-IOT01A project available within STM32CubeL4 MCU package, which can help you to develop your own application:
In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks