Disable VCOM in SubGHz_Phy middleware
Hello,
I would like to disable the LPUART in my project to save power consumption. I am programming a point to point network with LoRa modem. My project is based on the ping pong subghz example.
Curently, my board consumes around 107 µA in sleep with the stop mode 2 enabled. I would like to reach a consumption in the range of 1 µA.
I think the excessive consumption comes from the LPUART I use to debug. But when I disable the LPUART in CubeMX in the .ioc file and I generate the code, I get compilation errors in stm32_lpm_if.c with vcom_Resume function because usart_if.c does not exist yet.
In fact in .ioc file in the subghz phy middleware section, in platform settings tab, the VCOM section is still present with USART Undefined and No solution.
So is this middleware configurable without UART ?
I am using a custom board with the LoRa E5 STM32WL5EJC module embedded and the STM32WL package.
Thanks you in advance
Regards
EDIT : problem solved but I can't delete my post
