<?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: The relation between EOT, SSD, and SSEL on LPC54102 ????? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/The-relation-between-EOT-SSD-and-SSEL-on-LPC54102/m-p/557707#M15459</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mysepp on Sun Dec 20 05:12:13 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;When you send one byte (or x bits) out, then you get one byte (or x bits) in (in parallel, at the same time).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I think to remember there were flags, when something was completely sent out,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or if there is free space in FIFO. E.g. in LPC4357 you have a FIFO of size 16 bytes, max 8 entries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So you can send 8 bytes in a go.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Check user manual, chapter about SPI/SSP, status register bits for details.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:58:30 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:58:30Z</dc:date>
    <item>
      <title>The relation between EOT, SSD, and SSEL on LPC54102 ?????</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/The-relation-between-EOT-SSD-and-SSEL-on-LPC54102/m-p/557699#M15451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by okwh on Sat Dec 19 01:21:39 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to send 24 bits out.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;first 8 bits in the first write to TXDATCTL without EOT. and then&amp;nbsp; send 4 bits&amp;nbsp; with EOT &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In other word,&amp;nbsp; not allow&amp;nbsp; Deassert&amp;nbsp; (SSEL change)&amp;nbsp; between 8 and 16 bits.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use STALLED state to judge first 8 bits has sent, and then send 16 bits. (is this right?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but when I use&amp;nbsp; logic analyzer to check SPI signals, find&amp;nbsp; SSEL change (CS signal)&amp;nbsp; between 8 and 16 bits.!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What's wrong with it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I debuged step by step, sure cleared&amp;nbsp; EOT bit&amp;nbsp; in TXCTL before 8 bits, set it befor 16 bits,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and no SDD state after&amp;nbsp; 8 bits.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so why are there&amp;nbsp; SSEL change sinal between 8 and 16 bits seen on logic analyzer ????&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;as I know , only when I set EOT,&amp;nbsp; then SSD and SSEL change generate after send.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;when I clear EOT,&amp;nbsp; then&amp;nbsp; no SSD and no SSEL change generate after send.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but now when I clear&amp;nbsp; EOT, no SSD (with code debug) but have SEEL change&amp;nbsp; (with logic analyzer),&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:58:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/The-relation-between-EOT-SSD-and-SSEL-on-LPC54102/m-p/557699#M15451</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: The relation between EOT, SSD, and SSEL on LPC54102 ?????</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/The-relation-between-EOT-SSD-and-SSEL-on-LPC54102/m-p/557700#M15452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mysepp on Sat Dec 19 01:39:26 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you thought about configuring SSEL as GPIO and controlling it yourself?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:58:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/The-relation-between-EOT-SSD-and-SSEL-on-LPC54102/m-p/557700#M15452</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: The relation between EOT, SSD, and SSEL on LPC54102 ?????</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/The-relation-between-EOT-SSD-and-SSEL-on-LPC54102/m-p/557701#M15453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by okwh on Sat Dec 19 21:13:28 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;yes, you are right. all OK if I use software mode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but LPC54102 has 4+4 SPI for two SPI port, I will use 4+3 with different SCK rate and all master mode&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so lot of SPI needed,&amp;nbsp; if I use software simulate mode, not only need a lot of IO codes ,but also need a lot of time to debug and adjust their IO rate and time period. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC54102's SPI TXdata is 1~16 bits per pack(frame, or group).&amp;nbsp; more bits data need to be splited in to more parts. But now I find de-assert the SSEL which is not allowed !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;below is the states shown in manual:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;23.7.6 Data lengths greater than 16 bits&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The SPI interface handles data frame sizes from 1 to 16 bits directly. Larger sizes can be handled by splitting data up into groups of 16 bits or less. For example, 24 bits can be supported as 2 groups of 16 bits and 8 bits or 2 groups of 12 bits, among others. Frames of any size, including greater than 32 bits, can supported in the same way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Details of how to handle larger data widths depend somewhat on other SPI configuration options. For instance, if it is intended for Slave Selects to be deasserted between frames, then this must be suppressed when a larger frame is split into more than one part.&amp;nbsp; Sending 2 groups of 12 bits with SSEL deasserted between 24-bit increments, for instance, would require changing the value of the EOF bit on alternate 12-bit frames.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I needed is&amp;nbsp; Sending 2 groups of 8 and 16 bits with SSEL DEASSERTED between 24-bit increments&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but now I find&amp;nbsp; SSEL DEASSERTED between 8 and 16.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible whether SSEL DEASSERTED related with time-wait between 8 and 16?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Without EOT, should be no SSD,&amp;nbsp; how to judge 1st pack has been sent out ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;maybe I have to use software simulate mode&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:58:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/The-relation-between-EOT-SSD-and-SSEL-on-LPC54102/m-p/557701#M15453</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: The relation between EOT, SSD, and SSEL on LPC54102 ?????</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/The-relation-between-EOT-SSD-and-SSEL-on-LPC54102/m-p/557702#M15454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mysepp on Sun Dec 20 00:15:12 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Just to clarify: My hint for GPIO is only for the CS (SSEL), not for CLK/MISO/MOSI.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:58:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/The-relation-between-EOT-SSD-and-SSEL-on-LPC54102/m-p/557702#M15454</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: The relation between EOT, SSD, and SSEL on LPC54102 ?????</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/The-relation-between-EOT-SSD-and-SSEL-on-LPC54102/m-p/557703#M15455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by okwh on Sun Dec 20 03:24:10 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;yes, I know&amp;nbsp; SSEL is CS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;you mean not config&amp;nbsp;&amp;nbsp; SSEL, and only use it as GPIO.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;other like SCK/MOSI/MISO are configured as SPI.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will try,&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;do not know what happen when I only config SCK/MOSI/MISO pins.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:58:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/The-relation-between-EOT-SSD-and-SSEL-on-LPC54102/m-p/557703#M15455</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: The relation between EOT, SSD, and SSEL on LPC54102 ?????</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/The-relation-between-EOT-SSD-and-SSEL-on-LPC54102/m-p/557704#M15456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mysepp on Sun Dec 20 03:29:35 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Init SSEL(CS) as GPIO.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) At the beginning of your transaction, put CS to low (or as you need it).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Then start data transfer over SPI/SSP, as long as you want, how much bits are needed by your transaction.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) When everything is done (transaction is complete, all bits of this transaction is exchanged), put CS to high.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When you have a new transaction, restart at (2).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is the same way, when you have multiple devices with different CS on one SPI/SSP.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Just select the device (with CSx) you want to send data to/receive data from and do transfer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:58:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/The-relation-between-EOT-SSD-and-SSEL-on-LPC54102/m-p/557704#M15456</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: The relation between EOT, SSD, and SSEL on LPC54102 ?????</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/The-relation-between-EOT-SSD-and-SSEL-on-LPC54102/m-p/557705#M15457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mysepp on Sun Dec 20 03:31:13 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You even don't need to use SSEL as your CS (at least as SPI/SSP master). Take any GPIO you want.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:58:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/The-relation-between-EOT-SSD-and-SSEL-on-LPC54102/m-p/557705#M15457</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: The relation between EOT, SSD, and SSEL on LPC54102 ?????</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/The-relation-between-EOT-SSD-and-SSEL-on-LPC54102/m-p/557706#M15458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by okwh on Sun Dec 20 05:02:33 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;It is a good idea! &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need use its CLK/MOSI/MISO, since I need 7 SPI with different rate, so need use SPI's TXdata register as a buffer. but I do not know when the buffer's content have been sent out. how to judge?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;start data transfer over SPI/SSP, as long as you want,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;set SPI's TXdata register is fast, it is 1~16 bits.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for larger size data, split it to 2 or more bytes, one byte for one transfer, CS was hold on low, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but how to judge the previous byte has transfered ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;original, I use SSD state as flag to start transfer next byte, now no SSD state without EOT.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:58:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/The-relation-between-EOT-SSD-and-SSEL-on-LPC54102/m-p/557706#M15458</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: The relation between EOT, SSD, and SSEL on LPC54102 ?????</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/The-relation-between-EOT-SSD-and-SSEL-on-LPC54102/m-p/557707#M15459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mysepp on Sun Dec 20 05:12:13 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;When you send one byte (or x bits) out, then you get one byte (or x bits) in (in parallel, at the same time).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I think to remember there were flags, when something was completely sent out,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or if there is free space in FIFO. E.g. in LPC4357 you have a FIFO of size 16 bytes, max 8 entries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So you can send 8 bytes in a go.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Check user manual, chapter about SPI/SSP, status register bits for details.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:58:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/The-relation-between-EOT-SSD-and-SSEL-on-LPC54102/m-p/557707#M15459</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: The relation between EOT, SSD, and SSEL on LPC54102 ?????</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/The-relation-between-EOT-SSD-and-SSEL-on-LPC54102/m-p/557708#M15460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by okwh on Sun Dec 20 06:25:35 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Y..es.&amp;nbsp; received one byte and RXRDY state only when clear RXignore config bit.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;no&amp;nbsp; received one byte and no RXRDY state when set&amp;nbsp; RXignore condition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;now I use TXdata register directly. not use FIFO.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;maybe FIFO mode is good, but I do not know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;my trouble is I need 7 different SPI with different rate/mode/datalength..., so I don't know whether FIFO mode is suitale.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will try, Thanks a lot.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:58:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/The-relation-between-EOT-SSD-and-SSEL-on-LPC54102/m-p/557708#M15460</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:58:30Z</dc:date>
    </item>
  </channel>
</rss>

