<?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: Support for MCL module in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/Support-for-MCL-module/m-p/1277516#M18237</link>
    <description>&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;We are using MPC5746R controller.&lt;/P&gt;&lt;P&gt;i have configured MCL module as mentioned below:&lt;/P&gt;&lt;P&gt;DmaHwChannel =&amp;nbsp; eDMA_48 for&amp;nbsp;DSPI_3_RX (SpiPhyRxDmaChannel) ,Priority : 0&lt;/P&gt;&lt;P&gt;DmaHwChannel =&amp;nbsp; eDMA_49 for&amp;nbsp;DSPI_3_TX (SpiPhyTxDmaChannel) ,Priority : 1&lt;/P&gt;&lt;P&gt;DmaHwChannel =&amp;nbsp; eDMA_50 (SpiPhyTxDmaChannelAux) ,Priority : 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have configured SPI module as mentioned below:&lt;/P&gt;&lt;P&gt;Configure DSPI 3 for communication using DMA., also configured sequence end notification&lt;/P&gt;&lt;P&gt;I am trying to read data from external EEPROM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in Init Function:&lt;/P&gt;&lt;P&gt;MCL_Init()&lt;/P&gt;&lt;P&gt;SPI_Init();&lt;/P&gt;&lt;P&gt;In step Function:&lt;/P&gt;&lt;P&gt;f(JOB_OK == Spi_SetupEB(0, i_TxData,RxDataBufferPtr, 7))&lt;BR /&gt;{&lt;BR /&gt;&lt;BR /&gt;/* Send the command to EEPROM */&lt;BR /&gt;if(JOB_OK != Spi_AsyncTransmit (0))&lt;BR /&gt;{&lt;BR /&gt;/* Return JOB_FAILED flag*/&lt;BR /&gt;i_Return = EEP_JOB_FAILED;&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;/* Return JOB_OK flag*/&lt;BR /&gt;i_Return = JOB_OK;&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Spi_MainFunction_Handling();&lt;/P&gt;&lt;P&gt;After getting sequence end notification, I am&amp;nbsp; getting data 0 in RX buffer ,Can you please tell whether any configuration or function call i am missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ruturaj.&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>Mon, 17 May 2021 09:24:59 GMT</pubDate>
    <dc:creator>RuturajKhandare</dc:creator>
    <dc:date>2021-05-17T09:24:59Z</dc:date>
    <item>
      <title>Support for MCL module</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Support-for-MCL-module/m-p/1276169#M18203</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;We are configuring SPI communication using DMA for reading and writing data from/to EEPROM. while configuring SPI with DMA ,references for SpiPhyTxDmaChannel (SpiPhyUnit),SpiPhyRxDmaChannel (SpiPhyUnit) and&amp;nbsp;SpiPhyTxDmaChannelAux (SpiPhyUnit) these parameters are not available. As per parameter description and our understanding references for these parameters has to come from MCL module.&lt;/P&gt;&lt;P&gt;In out tool we don't see MCL module ,we would like to know whether we should get MCL module plug-in and static code from NXP.&lt;/P&gt;&lt;P&gt;Could you please help on these query ASAP.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ruturaj.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 05:27:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Support-for-MCL-module/m-p/1276169#M18203</guid>
      <dc:creator>RuturajKhandare</dc:creator>
      <dc:date>2021-05-13T05:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Support for MCL module</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Support-for-MCL-module/m-p/1276239#M18206</link>
      <description>&lt;P&gt;Hi, could you please specify product this question is related to? Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 07:30:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Support-for-MCL-module/m-p/1276239#M18206</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2021-05-13T07:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Support for MCL module</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Support-for-MCL-module/m-p/1276279#M18208</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186649"&gt;@RuturajKhandare&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In out tool we don't see MCL module ,we would like to know whether we should get MCL module plug-in and static code from NXP.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[Hung] Yes, could you please add the MCL module. If user use the DMA, the MCL is needed. Please check the "eclipse\plugins\Spi_TS_T2D35M10I1R0\doc\AUTOSAR_MCAL_SPI_IM.pdf" for more information.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hungnguyenphi_0-1620894288869.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144638iCA4466049ACFC981/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hungnguyenphi_0-1620894288869.png" alt="hungnguyenphi_0-1620894288869.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Hung.&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 08:26:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Support-for-MCL-module/m-p/1276279#M18208</guid>
      <dc:creator>hungnguyenphi</dc:creator>
      <dc:date>2021-05-13T08:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: Support for MCL module</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Support-for-MCL-module/m-p/1277516#M18237</link>
      <description>&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;We are using MPC5746R controller.&lt;/P&gt;&lt;P&gt;i have configured MCL module as mentioned below:&lt;/P&gt;&lt;P&gt;DmaHwChannel =&amp;nbsp; eDMA_48 for&amp;nbsp;DSPI_3_RX (SpiPhyRxDmaChannel) ,Priority : 0&lt;/P&gt;&lt;P&gt;DmaHwChannel =&amp;nbsp; eDMA_49 for&amp;nbsp;DSPI_3_TX (SpiPhyTxDmaChannel) ,Priority : 1&lt;/P&gt;&lt;P&gt;DmaHwChannel =&amp;nbsp; eDMA_50 (SpiPhyTxDmaChannelAux) ,Priority : 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have configured SPI module as mentioned below:&lt;/P&gt;&lt;P&gt;Configure DSPI 3 for communication using DMA., also configured sequence end notification&lt;/P&gt;&lt;P&gt;I am trying to read data from external EEPROM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in Init Function:&lt;/P&gt;&lt;P&gt;MCL_Init()&lt;/P&gt;&lt;P&gt;SPI_Init();&lt;/P&gt;&lt;P&gt;In step Function:&lt;/P&gt;&lt;P&gt;f(JOB_OK == Spi_SetupEB(0, i_TxData,RxDataBufferPtr, 7))&lt;BR /&gt;{&lt;BR /&gt;&lt;BR /&gt;/* Send the command to EEPROM */&lt;BR /&gt;if(JOB_OK != Spi_AsyncTransmit (0))&lt;BR /&gt;{&lt;BR /&gt;/* Return JOB_FAILED flag*/&lt;BR /&gt;i_Return = EEP_JOB_FAILED;&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;/* Return JOB_OK flag*/&lt;BR /&gt;i_Return = JOB_OK;&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Spi_MainFunction_Handling();&lt;/P&gt;&lt;P&gt;After getting sequence end notification, I am&amp;nbsp; getting data 0 in RX buffer ,Can you please tell whether any configuration or function call i am missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ruturaj.&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>Mon, 17 May 2021 09:24:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Support-for-MCL-module/m-p/1277516#M18237</guid>
      <dc:creator>RuturajKhandare</dc:creator>
      <dc:date>2021-05-17T09:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Support for MCL module</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Support-for-MCL-module/m-p/1280895#M18291</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186649"&gt;@RuturajKhandare&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Normally we will call :&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;while (SPI_JOB_PENDING==Spi_GetSequenceResult(nSequence))
{
    Spi_MainFunction_Handling(nSequence);
}&lt;/LI-CODE&gt;
&lt;P&gt;instead of just&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Spi_MainFunction_Handling();&lt;/LI-CODE&gt;
&lt;P&gt;And could you please check if we have a signal in the SPI_RX pin.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Hung&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 06:39:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Support-for-MCL-module/m-p/1280895#M18291</guid>
      <dc:creator>hungnguyenphi</dc:creator>
      <dc:date>2021-05-24T06:39:21Z</dc:date>
    </item>
  </channel>
</rss>

