<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: xQueueReceive not receiving the data in MCUXpresso SDK</title>
    <link>https://community.nxp.com/t5/MCUXpresso-SDK/xQueueReceive-not-receiving-the-data/m-p/1295594#M3221</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/17173"&gt;@ErichStyger&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is problem with Camera and display resource. I commented those resource uses and it's working&lt;/P&gt;</description>
    <pubDate>Mon, 21 Jun 2021 18:05:48 GMT</pubDate>
    <dc:creator>vinothkumars</dc:creator>
    <dc:date>2021-06-21T18:05:48Z</dc:date>
    <item>
      <title>xQueueReceive not receiving the data</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/xQueueReceive-not-receiving-the-data/m-p/1292744#M3212</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working IMX8QM-MEK with SDK (2.5.1).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;xQueueSend&lt;/STRONG&gt; is able to send the data and return TRUE. But,&amp;nbsp;&lt;STRONG&gt;xQueueReceive&lt;/STRONG&gt; not able receive the data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 17:40:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/xQueueReceive-not-receiving-the-data/m-p/1292744#M3212</guid>
      <dc:creator>vinothkumars</dc:creator>
      <dc:date>2021-06-15T17:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: xQueueReceive not receiving the data</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/xQueueReceive-not-receiving-the-data/m-p/1292761#M3213</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/65315"&gt;@vinothkumars&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;it would be really good if you could share a bit more of the details, as there might be many causes for this, including some other task already consuming the data.&lt;/P&gt;&lt;P&gt;Or at least provide an reduced example to look at.&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 19:04:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/xQueueReceive-not-receiving-the-data/m-p/1292761#M3213</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2021-06-15T19:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: xQueueReceive not receiving the data</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/xQueueReceive-not-receiving-the-data/m-p/1294435#M3215</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/17173"&gt;@ErichStyger&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for the quick reply. Please find the example code here,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;vendor/nxp/mcu-sdk-auto/SDK_MEK-MIMX8QM/boards/mekmimx8qm/demo_apps/rear_view_camera/cm4_core1/automotive.c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;int do_gear_state(struct cmd_tbl_s *cmd_tbl, int argc, char * const argv[])&lt;BR /&gt;{&lt;BR /&gt;vehicle_state_t vstate;&lt;BR /&gt;uint32_t gear_idx;&lt;BR /&gt;char *endptr;&lt;BR /&gt;if (argc != 2)&lt;BR /&gt;return CMD_RET_USAGE;&lt;BR /&gt;&lt;BR /&gt;gear_idx = strtol(argv[1], &amp;amp;endptr, 0);&lt;BR /&gt;&lt;BR /&gt;vstate.type = STATE_TYPE_GEAR;&lt;BR /&gt;vstate.value = gear_idx;&lt;BR /&gt;&lt;BR /&gt;if(xQueueSend(xVStateQueue, (void *)&amp;amp;vstate, (TickType_t)0))&lt;BR /&gt;{&lt;BR /&gt;PRINTF("Sending gear ++++++++++++++++++ \r\n");&lt;BR /&gt;}else{&lt;BR /&gt;PRINTF("not able to Send gear ++++++++++++++++++ \r\n");&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;return 0;&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;static void vehicle_state_monitor_task(void *pvParameters)&lt;BR /&gt;{&lt;BR /&gt;EventBits_t resBits;&lt;BR /&gt;vehicle_state_t stateMsg;&lt;BR /&gt;uint8_t reqData[SRTM_USER_DATA_LENGTH];&lt;BR /&gt;static uint32_t pre_gear_state = AUTO_GEAR_NONE;&lt;BR /&gt;TaskHandle_t regHandle;&lt;BR /&gt;&lt;BR /&gt;android_registered_flag = 0;&lt;BR /&gt;while (true)&lt;BR /&gt;{&lt;BR /&gt;PRINTF("+++++++++++++++++ %s ++++++++++++++++++ \r\n", __func__);&lt;BR /&gt;if (xQueueReceive(xVStateQueue, &amp;amp;stateMsg, portMAX_DELAY))&lt;BR /&gt;{&lt;BR /&gt;&lt;BR /&gt;PRINTF("+++++++++++++++++ %s ++++++++++++++++++ 1\r\n", __func__);&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;}&lt;/PRE&gt;</description>
      <pubDate>Fri, 18 Jun 2021 05:48:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/xQueueReceive-not-receiving-the-data/m-p/1294435#M3215</guid>
      <dc:creator>vinothkumars</dc:creator>
      <dc:date>2021-06-18T05:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: xQueueReceive not receiving the data</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/xQueueReceive-not-receiving-the-data/m-p/1294462#M3216</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/65315"&gt;@vinothkumars&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;that code looks good in general, so I don't see an obvious problem.&lt;/P&gt;&lt;P&gt;What I would suggest:&lt;/P&gt;&lt;P&gt;- check your task stack sizes, if there is enough stack space available. You have&lt;/P&gt;&lt;PRE&gt;SRTM_USER_DATA_LENGTH&lt;/PRE&gt;&lt;P&gt;which potentially could be very large&lt;/P&gt;&lt;P&gt;- You need to check you code with the debugger: inspect the queue with the FreeRTOS views (see &lt;A href="https://mcuoneclipse.com/2017/03/18/better-freertos-debugging-in-eclipse/" target="_blank"&gt;https://mcuoneclipse.com/2017/03/18/better-freertos-debugging-in-eclipse/&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 06:28:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/xQueueReceive-not-receiving-the-data/m-p/1294462#M3216</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2021-06-18T06:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: xQueueReceive not receiving the data</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/xQueueReceive-not-receiving-the-data/m-p/1294571#M3218</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/17173"&gt;@ErichStyger&lt;/a&gt;&amp;nbsp;for your reply.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 08:57:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/xQueueReceive-not-receiving-the-data/m-p/1294571#M3218</guid>
      <dc:creator>vinothkumars</dc:creator>
      <dc:date>2021-06-18T08:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: xQueueReceive not receiving the data</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/xQueueReceive-not-receiving-the-data/m-p/1295594#M3221</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/17173"&gt;@ErichStyger&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is problem with Camera and display resource. I commented those resource uses and it's working&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 18:05:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/xQueueReceive-not-receiving-the-data/m-p/1295594#M3221</guid>
      <dc:creator>vinothkumars</dc:creator>
      <dc:date>2021-06-21T18:05:48Z</dc:date>
    </item>
  </channel>
</rss>

