<?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: How to use MCAL with project configured for FreeRTOS MPU for S32K344 in S32K</title>
    <link>https://community.nxp.com/t5/S32K/How-to-use-MCAL-with-project-configured-for-FreeRTOS-MPU-for/m-p/1573526#M19608</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;HemantK,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;what is the FreeRTOS package's name you are using?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf78987_0-1671690891123.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/205216iDC50B87FC1B1BB2E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf78987_0-1671690891123.png" alt="nxf78987_0-1671690891123.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf78987_1-1671690919534.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/205217i7EE1F473F32263CB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf78987_1-1671690919534.png" alt="nxf78987_1-1671690919534.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Dan&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Dec 2022 06:35:42 GMT</pubDate>
    <dc:creator>DanNguyenDuy</dc:creator>
    <dc:date>2022-12-22T06:35:42Z</dc:date>
    <item>
      <title>How to use MCAL with project configured for FreeRTOS MPU for S32K344</title>
      <link>https://community.nxp.com/t5/S32K/How-to-use-MCAL-with-project-configured-for-FreeRTOS-MPU-for/m-p/1569954#M19441</link>
      <description>&lt;P&gt;Hello All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a simple FreeRTOS MPU project by modifying "FreeRTOS_Toggle_Led_Example_S32K344" and added DIO MCAL to toggle on board LED.&lt;/P&gt;&lt;P&gt;My modified ReceiveTask task looks like this now:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;void ReceiveTask( void *pvParameters )
{
    (void)pvParameters;
    BaseType_t operation_status;
    BaseType_t count = 0;
    uint8_t currentLevel = STD_HIGH;

    for( ;; )
    {
        operation_status = xSemaphoreTake(sem_handle, portMAX_DELAY);
        configASSERT(operation_status == pdPASS);
        Dio_WriteChannel(DioConf_DioChannel_RED_LED, currentLevel);
        currentLevel =~currentLevel &amp;amp; 0x1;
        if(count++ &amp;gt; 10)
        {
            //testResult = 0x5AU;
        }
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But as soon as it try to execute "Dio_WriteChannel(DioConf_DioChannel_RED_LED, currentLevel);", I get memory exception&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HemantK_0-1671047979913.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204491iB6DF44ABD0CA7DAB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HemantK_0-1671047979913.png" alt="HemantK_0-1671047979913.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But no issue is seen if I comment above line of code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In short can you please guide me as how I can use MCAL with FreeRTOS using MPU.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hemant Kapoor&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 20:01:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-use-MCAL-with-project-configured-for-FreeRTOS-MPU-for/m-p/1569954#M19441</guid>
      <dc:creator>HemantK</dc:creator>
      <dc:date>2022-12-14T20:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to use MCAL with project configured for FreeRTOS MPU for S32K344</title>
      <link>https://community.nxp.com/t5/S32K/How-to-use-MCAL-with-project-configured-for-FreeRTOS-MPU-for/m-p/1571263#M19488</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/207139"&gt;@HemantK&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Can you please post the project here, so that I can easily reproduce it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 14:45:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-use-MCAL-with-project-configured-for-FreeRTOS-MPU-for/m-p/1571263#M19488</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-12-16T14:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to use MCAL with project configured for FreeRTOS MPU for S32K344</title>
      <link>https://community.nxp.com/t5/S32K/How-to-use-MCAL-with-project-configured-for-FreeRTOS-MPU-for/m-p/1571309#M19489</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find the project attached.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 16:35:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-use-MCAL-with-project-configured-for-FreeRTOS-MPU-for/m-p/1571309#M19489</guid>
      <dc:creator>HemantK</dc:creator>
      <dc:date>2022-12-16T16:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to use MCAL with project configured for FreeRTOS MPU for S32K344</title>
      <link>https://community.nxp.com/t5/S32K/How-to-use-MCAL-with-project-configured-for-FreeRTOS-MPU-for/m-p/1573526#M19608</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;HemantK,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;what is the FreeRTOS package's name you are using?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf78987_0-1671690891123.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/205216iDC50B87FC1B1BB2E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf78987_0-1671690891123.png" alt="nxf78987_0-1671690891123.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf78987_1-1671690919534.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/205217i7EE1F473F32263CB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf78987_1-1671690919534.png" alt="nxf78987_1-1671690919534.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Dan&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 06:35:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-use-MCAL-with-project-configured-for-FreeRTOS-MPU-for/m-p/1573526#M19608</guid>
      <dc:creator>DanNguyenDuy</dc:creator>
      <dc:date>2022-12-22T06:35:42Z</dc:date>
    </item>
  </channel>
</rss>

