<?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 SSP driver: Why tx- and rx-counters not initilized to zero? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/SSP-driver-Why-tx-and-rx-counters-not-initilized-to-zero/m-p/586209#M21403</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by 1234567890 on Sun Jun 08 03:55:27 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm just playing with the SSP driver for a LPCXPresso LPC11C24. The function Chip_SSP_RWFrames_Blocking(...)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;uses the &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;xf_setup.tx_cnt and xf_setup.rx_cnt&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;counters for proper work. Therefore it's &lt;/SPAN&gt;&lt;STRONG&gt;allways&lt;/STRONG&gt;&lt;SPAN&gt; neccessary to reset both counters to zero at the entrance of each call (at least I think so).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So why isn't that mandatory initialisation done in the driver and has to be done manually?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Btw.: The SSP of the CM0 seems not that compatible/usefull in slave mode when using SPI mode 0: When back-to-back writing after each word the SSEL has to be set to inactive state. That's really bad.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 20:25:07 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T20:25:07Z</dc:date>
    <item>
      <title>SSP driver: Why tx- and rx-counters not initilized to zero?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SSP-driver-Why-tx-and-rx-counters-not-initilized-to-zero/m-p/586209#M21403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by 1234567890 on Sun Jun 08 03:55:27 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm just playing with the SSP driver for a LPCXPresso LPC11C24. The function Chip_SSP_RWFrames_Blocking(...)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;uses the &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;xf_setup.tx_cnt and xf_setup.rx_cnt&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;counters for proper work. Therefore it's &lt;/SPAN&gt;&lt;STRONG&gt;allways&lt;/STRONG&gt;&lt;SPAN&gt; neccessary to reset both counters to zero at the entrance of each call (at least I think so).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So why isn't that mandatory initialisation done in the driver and has to be done manually?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Btw.: The SSP of the CM0 seems not that compatible/usefull in slave mode when using SPI mode 0: When back-to-back writing after each word the SSEL has to be set to inactive state. That's really bad.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:25:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SSP-driver-Why-tx-and-rx-counters-not-initilized-to-zero/m-p/586209#M21403</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:25:07Z</dc:date>
    </item>
  </channel>
</rss>

