cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WBA55 how to disable MX_APPE_Init? (MX_APPE_Deinit)

YBAYR.1
Associate III

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.

1 REPLY 1
YBAYR.1
Associate III

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.