<?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: dspi_master_mpc5748g example in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/dspi-master-mpc5748g-example/m-p/1528664#M22073</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;are you using MPC5748g or MPC5746C? Seems you debug&amp;nbsp;&lt;SPAN&gt;dspi_master_mpc5746c and shows pins config to this example. The&amp;nbsp;dspi_master_mpc5748g configs DSPI_0 for master and SPI_0 for slave with below config&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PetrS_0-1664267279381.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/195002i3A46A01C789107A4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PetrS_0-1664267279381.png" alt="PetrS_0-1664267279381.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="PetrS_1-1664267286541.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/195003i6ACEF742B53E08CF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PetrS_1-1664267286541.png" alt="PetrS_1-1664267286541.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="PetrS_2-1664267296062.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/195004iD18C92A64D0B2D9A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PetrS_2-1664267296062.png" alt="PetrS_2-1664267296062.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;j3.8,j3.6,j3.4,j3.2 are for master pins&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you do no connection still you must see signal on&amp;nbsp;j3.8,j3.6,j3.4 as master is sending&amp;nbsp; master_send buffer.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR, Petr&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Sep 2022 08:31:57 GMT</pubDate>
    <dc:creator>PetrS</dc:creator>
    <dc:date>2022-09-27T08:31:57Z</dc:date>
    <item>
      <title>dspi_master_mpc5748g example</title>
      <link>https://community.nxp.com/t5/MPC5xxx/dspi-master-mpc5748g-example/m-p/1528075#M22064</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;question 1:&lt;/STRONG&gt;&lt;/EM&gt; hi in this example (dspi_master_mpc5748g) it says to do the following pin configurations,&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;CS - SS&lt;/TD&gt;&lt;TD&gt;J3.8 - J14.15&lt;/TD&gt;&lt;TD&gt;PA[14] - PK[12]&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Clock&lt;/TD&gt;&lt;TD&gt;J3.6 - J13.12&lt;/TD&gt;&lt;TD&gt;PA[15] - PK[11]&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;MOSI - MISO&lt;/TD&gt;&lt;TD&gt;J3.4 - J14.13&lt;/TD&gt;&lt;TD&gt;PA[13] - PK[9]&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;MISO - MOSI&lt;/TD&gt;&lt;TD&gt;J3.2 - J14.3&lt;/TD&gt;&lt;TD&gt;PA[12] - PK[10]&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;which pins are for master and which are for slave?&lt;/P&gt;&lt;P&gt;j3.8,j3.6,j3.4,j3.2 are for slave?&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;question 2:&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;the array to be sent in the code is defined as&amp;nbsp; uint8_t master_send[BUFFER_SIZE] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};&lt;/P&gt;&lt;P&gt;when calling it to be sent its called like this:&amp;nbsp; DSPI_MasterTransferBlocking(DSPI0_INSTANCE, master_send, master_receive, NUMBER_OF_FRAMES, TIMEOUT);&lt;/P&gt;&lt;P&gt;we arent sending the values that are defined in the array the values are viewed as:&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="arr.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/194918iDA5EABD621D143D0/image-size/large?v=v2&amp;amp;px=999" role="button" title="arr.png" alt="arr.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;if we want to we should define it as&amp;nbsp;master_receive[i] and put it in a for loop , when i do that , it doesnt work, can you please help me by telling me how are we able to send the values that are defined in the array?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 13:13:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/dspi-master-mpc5748g-example/m-p/1528075#M22064</guid>
      <dc:creator>turkmani_11</dc:creator>
      <dc:date>2022-09-26T13:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: dspi_master_mpc5748g example</title>
      <link>https://community.nxp.com/t5/MPC5xxx/dspi-master-mpc5748g-example/m-p/1528664#M22073</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;are you using MPC5748g or MPC5746C? Seems you debug&amp;nbsp;&lt;SPAN&gt;dspi_master_mpc5746c and shows pins config to this example. The&amp;nbsp;dspi_master_mpc5748g configs DSPI_0 for master and SPI_0 for slave with below config&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PetrS_0-1664267279381.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/195002i3A46A01C789107A4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PetrS_0-1664267279381.png" alt="PetrS_0-1664267279381.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="PetrS_1-1664267286541.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/195003i6ACEF742B53E08CF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PetrS_1-1664267286541.png" alt="PetrS_1-1664267286541.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="PetrS_2-1664267296062.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/195004iD18C92A64D0B2D9A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PetrS_2-1664267296062.png" alt="PetrS_2-1664267296062.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;j3.8,j3.6,j3.4,j3.2 are for master pins&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you do no connection still you must see signal on&amp;nbsp;j3.8,j3.6,j3.4 as master is sending&amp;nbsp; master_send buffer.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR, Petr&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2022 08:31:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/dspi-master-mpc5748g-example/m-p/1528664#M22073</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2022-09-27T08:31:57Z</dc:date>
    </item>
  </channel>
</rss>

