2026-02-19 12:40 AM - last edited on 2026-02-19 1:42 AM by Andrew Neil
Hello,
I'm working on a comprehensive project where I need to implement low-power modes without using a sequencer. However, nothing works after MX_APPE_Init. How can I deinit it?
I am using MAC 802.15.4
/* Init code for STM32_WPAN */
MX_APPE_Init(NULL);
HAL_Delay(5000);
EnterRTCStandbyMode(10000);
/* Infinite loop */
/* USER CODE BEGIN WHILE */
while (1)
{
/* USER CODE END WHILE */
MX_APPE_Process();
/* USER CODE BEGIN 3 */
tagReadResponseSend();
}
To summarize, I want to know how to deinit MX_APPE_Init. Yes, there's a sequencer, and it works perfectly, but I want to disable MX_APPE_Init and use EnterRTCStandbyMode for sleep modes.
2026-02-19 12:43 AM
Since the program will restart from the beginning after exiting standby, MX_APPE_Init will be called again, so the Mac will work as I want it to up until that point.