<?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: IPC Implementation issue with all three Cores in LPC4367 (M4,M0Sub and M0App) in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/IPC-Implementation-issue-with-all-three-Cores-in-LPC4367-M4/m-p/854335#M33970</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gaurav,&lt;BR /&gt;&lt;BR /&gt;there is a difference in the bus connection between the M0App and the M0Sub. &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The M0App is a bus master and has the same rights and timings as the M4&lt;/LI&gt;&lt;LI&gt;The M0Sub is a peripheral core behind a bus sychronisation bridge, every transfer to/from this core (and to the dedicated SRAM memory section) happens with 4 waitstates. However, the core itself on its dedicated SRAM section works without waitstates.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Maybe that's "somehow" the reason for this overflow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bernhard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jan 2019 10:13:07 GMT</pubDate>
    <dc:creator>bernhardfink</dc:creator>
    <dc:date>2019-01-07T10:13:07Z</dc:date>
    <item>
      <title>IPC Implementation issue with all three Cores in LPC4367 (M4,M0Sub and M0App)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/IPC-Implementation-issue-with-all-three-Cores-in-LPC4367-M4/m-p/854334#M33969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using &lt;STRONG&gt;LPC4367&lt;/STRONG&gt; for the first time in one of the project. I want to use the IPC mechanism for sharing and tranfering the data between the cores. There are three cores in &lt;STRONG&gt;LPC4367 (M4, M0Sub, M0App).&lt;/STRONG&gt; I have implemented IPC mechanism to send the data from&lt;STRONG&gt; M0Sub to M4&amp;nbsp; , M4 to M0Sub and From M0App to M4 and M4 to M0App&lt;/STRONG&gt;. I am using IPC queue mechanism as suggested in the &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;UM10503&lt;/SPAN&gt; manual.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am transfering the data from M0Sub and M4&amp;nbsp; at every 625uS and i have checked it is working fine when data is transfered from M0Sub to M4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am tranfersing data from M0App to M4 and M4 is responding&amp;nbsp; to M0App after recieving the query from M0App. But here after some time means immediately the&amp;nbsp;Status = IPC_tryPushMsg(g_st_msgRx.cpuid,&amp;amp;g_st_msgRx); is&amp;nbsp;QUEUE_FULL. I am unable to find the issue since this is working fine with M0Sub and M4.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Aso request you to please provide the sample code or source code for IPC mechanism implementation using three cores using IPC queue mechnism .Here i am using the Inerrupt mechanism of the queue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;One more thing is that i am using same address location for trigering the M4 M0App and M0Sub&amp;nbsp; (0x20000000) As specified in&amp;nbsp;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;UM10503&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;Manual.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;#define SHARED_MEM_IPC_ 0x20000000&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;static struct ipc_queue *q_ipc = (struct ipc_queue *) SHARED_MEM_IPC_;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Request you to please provide the solution for the same since it is on very high prioroty.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;I refered &lt;A href="https://community.nxp.com/thread/419939"&gt;M4-M0 core synchronisation / lock mechanism using mutex or semaphore&lt;/A&gt;&amp;nbsp; since it the same issue but lititle different since it is related to RTOS.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Thanks&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Gaurav More&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2019 06:38:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/IPC-Implementation-issue-with-all-three-Cores-in-LPC4367-M4/m-p/854334#M33969</guid>
      <dc:creator>gauravmore</dc:creator>
      <dc:date>2019-01-07T06:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: IPC Implementation issue with all three Cores in LPC4367 (M4,M0Sub and M0App)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/IPC-Implementation-issue-with-all-three-Cores-in-LPC4367-M4/m-p/854335#M33970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gaurav,&lt;BR /&gt;&lt;BR /&gt;there is a difference in the bus connection between the M0App and the M0Sub. &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The M0App is a bus master and has the same rights and timings as the M4&lt;/LI&gt;&lt;LI&gt;The M0Sub is a peripheral core behind a bus sychronisation bridge, every transfer to/from this core (and to the dedicated SRAM memory section) happens with 4 waitstates. However, the core itself on its dedicated SRAM section works without waitstates.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Maybe that's "somehow" the reason for this overflow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bernhard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2019 10:13:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/IPC-Implementation-issue-with-all-three-Cores-in-LPC4367-M4/m-p/854335#M33970</guid>
      <dc:creator>bernhardfink</dc:creator>
      <dc:date>2019-01-07T10:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: IPC Implementation issue with all three Cores in LPC4367 (M4,M0Sub and M0App)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/IPC-Implementation-issue-with-all-three-Cores-in-LPC4367-M4/m-p/854336#M33971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;In addition I suggest to check the application note AN11177 Inter Processor Communication,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;A data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fdocuments%2Fapplication_note%2FAN11177.zip" rel="nofollow" style="color: #3d9ce7; border: 0px; font-weight: inherit; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;AN11177:&amp;nbsp;Inter Processor Communications.&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;this appnote provides information about:&lt;/P&gt;&lt;UL style="color: #51626f; background-color: #ffffff; border: 0px; padding: 0px 0px 0px 30px;"&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;The API implementation for dual core communication on LPC43xx targets.&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;How to include or exclude functionality by means of a platform-wise configuration file.&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;System level settings and debug options to be aware of when changing the configuration.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Sol&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2019 18:26:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/IPC-Implementation-issue-with-all-three-Cores-in-LPC4367-M4/m-p/854336#M33971</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2019-01-07T18:26:42Z</dc:date>
    </item>
  </channel>
</rss>

