<?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: UART based DMA Communication between two micro controllers in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/UART-based-DMA-Communication-between-two-micro-controllers/m-p/2184517#M28091</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Yes, it is technically possible to send and receive data between two external SRAMs connected to two MPC5777C microcontrollers using UART-based DMA, but it requires a well-coordinated setup. Here's a breakdown of how this can be achieved, followed by a block diagram and example code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;Concept Overview&lt;/H4&gt;
&lt;P&gt;Each MPC5777C microcontroller has:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;External Bus Interface (EBI) for SRAM access.&lt;/LI&gt;
&lt;LI&gt;UART modules with DMA support.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;You can:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Read data from SRAM1 via EBI on MCU1.&lt;/LI&gt;
&lt;LI&gt;Send data via UART using DMA from MCU1 to MCU2.&lt;/LI&gt;
&lt;LI&gt;Receive data via UART using DMA on MCU2.&lt;/LI&gt;
&lt;LI&gt;Write data to SRAM2 via EBI on MCU2.&lt;/LI&gt;
&lt;/OL&gt;
&lt;H4&gt;Key Requirements&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;UART Configuration: Both MCUs must be configured with matching baud rate, parity, stop bits.&lt;/LI&gt;
&lt;LI&gt;DMA Setup:
&lt;UL&gt;
&lt;LI&gt;MCU1: DMA reads from SRAM1 and writes to UART TX.&lt;/LI&gt;
&lt;LI&gt;MCU2: DMA reads from UART RX and writes to SRAM2.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Synchronization: You may need a handshake mechanism (e.g., GPIO or UART signaling) to coordinate transfers.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
    <pubDate>Mon, 13 Oct 2025 05:52:22 GMT</pubDate>
    <dc:creator>petervlna</dc:creator>
    <dc:date>2025-10-13T05:52:22Z</dc:date>
    <item>
      <title>UART based DMA Communication between two micro controllers</title>
      <link>https://community.nxp.com/t5/MPC5xxx/UART-based-DMA-Communication-between-two-micro-controllers/m-p/2184330#M28090</link>
      <description>&lt;P&gt;Two MPC5777C micro controllers are connected to two external SRAM through External Bus Interface. Is it possible to send and receive data between the two External SRAM through UART based DMA? If yes please provide the code and block diagram for the same.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Oct 2025 18:18:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/UART-based-DMA-Communication-between-two-micro-controllers/m-p/2184330#M28090</guid>
      <dc:creator>Shreyas_SK</dc:creator>
      <dc:date>2025-10-11T18:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: UART based DMA Communication between two micro controllers</title>
      <link>https://community.nxp.com/t5/MPC5xxx/UART-based-DMA-Communication-between-two-micro-controllers/m-p/2184517#M28091</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Yes, it is technically possible to send and receive data between two external SRAMs connected to two MPC5777C microcontrollers using UART-based DMA, but it requires a well-coordinated setup. Here's a breakdown of how this can be achieved, followed by a block diagram and example code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;Concept Overview&lt;/H4&gt;
&lt;P&gt;Each MPC5777C microcontroller has:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;External Bus Interface (EBI) for SRAM access.&lt;/LI&gt;
&lt;LI&gt;UART modules with DMA support.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;You can:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Read data from SRAM1 via EBI on MCU1.&lt;/LI&gt;
&lt;LI&gt;Send data via UART using DMA from MCU1 to MCU2.&lt;/LI&gt;
&lt;LI&gt;Receive data via UART using DMA on MCU2.&lt;/LI&gt;
&lt;LI&gt;Write data to SRAM2 via EBI on MCU2.&lt;/LI&gt;
&lt;/OL&gt;
&lt;H4&gt;Key Requirements&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;UART Configuration: Both MCUs must be configured with matching baud rate, parity, stop bits.&lt;/LI&gt;
&lt;LI&gt;DMA Setup:
&lt;UL&gt;
&lt;LI&gt;MCU1: DMA reads from SRAM1 and writes to UART TX.&lt;/LI&gt;
&lt;LI&gt;MCU2: DMA reads from UART RX and writes to SRAM2.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Synchronization: You may need a handshake mechanism (e.g., GPIO or UART signaling) to coordinate transfers.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 05:52:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/UART-based-DMA-Communication-between-two-micro-controllers/m-p/2184517#M28091</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2025-10-13T05:52:22Z</dc:date>
    </item>
  </channel>
</rss>

