Skip to main content
Carlos Diaz R.
Associate III
May 27, 2019
Solved

[FreeRTOS] Is it possible to enable xEventGroupSetBitFromISR in CubeMX?

  • May 27, 2019
  • 4 replies
  • 2453 views

I wanted to test event groups to replace a bin semaphore and as the title says, i can't enable xEventGroupSetBitFromISR on CMSISv1 nor CMSISv2 wrappers.

0690X000008wTHDQA2.png

Is there another way to enable that function? Maybe in a unofficial way?

Regards,

Carlos

This topic has been closed for replies.
Best answer by Khouloud ZEMMELI

​Hello @Carlos Diaz R.​ , YES, you can enable "xEventGroupSetBitFromISR" from CubeMX.

Please Follow steps below.

1-Enable Use_TIMERS

2-Enable : xTimerPendFunctionCall

-> 3- xEventGroupSetBitFromISR can be enabled

Best Regards,

Khouloud.0690X000008wTygQAE.png0690X000008wTzeQAE.png0690X000008wTzjQAE.png

4 replies

Khouloud ZEMMELI
Khouloud ZEMMELIBest answer
ST Employee
May 28, 2019

​Hello @Carlos Diaz R.​ , YES, you can enable "xEventGroupSetBitFromISR" from CubeMX.

Please Follow steps below.

1-Enable Use_TIMERS

2-Enable : xTimerPendFunctionCall

-> 3- xEventGroupSetBitFromISR can be enabled

Best Regards,

Khouloud.0690X000008wTygQAE.png0690X000008wTzeQAE.png0690X000008wTzjQAE.png

Carlos Diaz R.
Associate III
May 28, 2019

Hi @Khouloud ZEMMELI​ , thanks for the detailed explanation, i will test it when i get to the office.

Is this kind of options documented somewhere? or is a FreeRTOS requisite?

Khouloud ZEMMELI
ST Employee
May 29, 2019

​Hi @Carlos Diaz R.​ , It's too simple , just click on this icon and it will guide you :) . 

Best Regards,

Khouloud.

0690X000008a7yHQAQ.png

Carlos Diaz R.
Associate III
May 29, 2019

I didn't saw the information button before, how silly of me. Thanks for your help :smiling_face_with_smiling_eyes: