<?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: Question for LPC11U68JBD100 SPI data transfer in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Question-for-LPC11U68JBD100-SPI-data-transfer/m-p/997114#M39218</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp; Andalon,&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Feb 2020 06:42:31 GMT</pubDate>
    <dc:creator>tmaekawa</dc:creator>
    <dc:date>2020-02-04T06:42:31Z</dc:date>
    <item>
      <title>Question for LPC11U68JBD100 SPI data transfer</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Question-for-LPC11U68JBD100-SPI-data-transfer/m-p/997112#M39216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CPU part number :&amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;LPC11U68JBD100&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am designing&amp;nbsp; LPC11U68JBD100 firmware.&lt;/P&gt;&lt;P&gt;I want to SPI transfer with A/D converter.&lt;/P&gt;&lt;P&gt;I use SPI0 port. CPU is master. the A/D converter is slave.&lt;/P&gt;&lt;P&gt;the A/D converter's data frame is 32bit per frame.&lt;/P&gt;&lt;P&gt;So, if SSEL (slave select) is deasserted during 32 bit data transfer, the A/D converter ignores the transferred data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I think 32 bit data transfer using continuous back-to-back&amp;nbsp;transmissions without deassertion of the slave select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there good way to transmit 32bit data from SPI0 port without&amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;deassertion of the slave select(SSEL)&lt;/SPAN&gt; during 32 bit serial transmission?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or, Is it possible to transfer the 32bit data with following way?&lt;/P&gt;&lt;P&gt;The way thinking currently is next:&lt;/P&gt;&lt;P&gt;&amp;nbsp; main register setting : CPOL = 0, CPHA = 1, DSS = 7(8bit transfer), MS = 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Process:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; (1) Wait until TFE = 1 ( to output unnecessary data from transmission FIFO ).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; (2) Read the DR( data register) until RNE = 0 &lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;( to output unnecessary data from receiver FIFO )&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; (3) SSE = 0 (to disable SPI transfer)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; (4)Write only 4 byte data into the &lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;transmission FIFO through DR ( 8bit * 4 = 32).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&amp;nbsp;&amp;nbsp; (5) SSE = 1&amp;nbsp;(to enable SPI transfer)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&amp;nbsp;&amp;nbsp; (6)Wait until&amp;nbsp;&lt;SPAN style="font-size: 10.5pt;"&gt;BSY=0&lt;/SPAN&gt; ( to wait until SPI transfer is done) .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The register neme, signal neme used here is wrriten in UM10732 (LPC11U6x/E6x User Munual).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2020 06:22:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Question-for-LPC11U68JBD100-SPI-data-transfer/m-p/997112#M39216</guid>
      <dc:creator>tmaekawa</dc:creator>
      <dc:date>2020-01-24T06:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Question for LPC11U68JBD100 SPI data transfer</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Question-for-LPC11U68JBD100-SPI-data-transfer/m-p/997113#M39217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maekawa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This MCU only supports up to 16 bit transfers, as the table 220 mention:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/100459i2D5694D6B40660E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will depend if the A/D converter that you're using allows gaps between frames.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/100509i164441948DA7724C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2020 17:08:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Question-for-LPC11U68JBD100-SPI-data-transfer/m-p/997113#M39217</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2020-01-30T17:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: Question for LPC11U68JBD100 SPI data transfer</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Question-for-LPC11U68JBD100-SPI-data-transfer/m-p/997114#M39218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp; Andalon,&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2020 06:42:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Question-for-LPC11U68JBD100-SPI-data-transfer/m-p/997114#M39218</guid>
      <dc:creator>tmaekawa</dc:creator>
      <dc:date>2020-02-04T06:42:31Z</dc:date>
    </item>
  </channel>
</rss>

