Skip to main content
Visitor II
June 16, 2017
Question

xQueueCreate not creating any queue

  • June 16, 2017
  • 3 replies
  • 1647 views
Posted on June 16, 2017 at 15:08

I'm using NucleoF207G in that I'm trying to freertos queue using STM32Cube but i can't able to create any queue using xQueueCreate API . Pls give me a Proper suggestion .

-Thanks

K.Manikandan

    This topic has been closed for replies.

    3 replies

    Technical Moderator
    June 16, 2017
    Posted on June 16, 2017 at 17:36

    Hi

    K.Manikandan

    ,

    You can refer to a typical

    FreeRTOS

    examples and use CubeMX to build and generate your project with FreeRTOS.

    STM32Cube_FW_F2_V1.6.0\Projects\STM322xG_EVAL\Applications\FreeRTOS

    I recommend to you the following references, it maybe helpful for you:

    -

    /external-link.jspa?url=http%3A%2F%2Fwww2.st.com%2Fcontent%2Fccc%2Fresource%2Ftechnical%2Fdocument%2Fuser_manual%2F2d%2F60%2Fff%2F15%2F8c%2Fc9%2F43%2F77%2FDM00105pdf%2Ffiles%2FDM00105pdf%2Fjcr%3Acontent%2Ftranslations%2Fen.DM00105pdf

    Imen

    Visitor II
    June 17, 2017
    Posted on June 17, 2017 at 07:11

    Hi Imen ,

    I  have that document too but , i want to know what is the prob when I'm using xQueueCreate API . I think problem with Heap memory settings but cant able to troubleshoot it  , so i need help..

    -Thanks

    K.Maikandan

    Visitor II
    June 20, 2017
    Posted on June 20, 2017 at 11:55

    Increasing queue size ,

    https://community.st.com/0D50X00009XkY4MSAV

    is working . But i had another one doubt , I want to send data to queue from CDC_Receive_FS and receive the data from another threat .

    Any Idea ?

    - Thanks and regards

    K.Manikandan

    Visitor II
    August 23, 2024

    People who searching for an answer:

     

    What worked for me: 

    #define configTOTAL_HEAP_SIZE                    ((size_t)32*1024)
     
    Just increase the heapsize