<?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: SGPIO inverted clock qualifier in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/SGPIO-inverted-clock-qualifier/m-p/561453#M16293</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Thu Feb 19 02:15:31 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: JohnR&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: starblue&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;While you are at it, it would be nice if you could clean up Figure 43 "Basic operation of one slice" w.r.t. qualifier and clock selection.&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;Could you please expand on that sentence? Having got SGPIO working more or less by trial and error, I would be interested in knowing more about its operation.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If in Figure 43 you look at the 4-way multiplexer for the clocks with the single input labeled "qualifier" and compare it to the register description, it just doesn't make sense.&amp;nbsp; IMHO there need to be separate multiplexers for clock and qualifier selection, maybe in a separate figure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've used a /CS signal from another slice as a qualifier for an SPI clock, for reading data from an ADC with two data lines. That worked nicely. (The qualifier enables the clock, in case that is your question?)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:45:21 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:45:21Z</dc:date>
    <item>
      <title>SGPIO inverted clock qualifier</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SGPIO-inverted-clock-qualifier/m-p/561449#M16289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by pdv on Sun Feb 15 10:18:17 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With bits 6:5 of SGPIO_MUX_CFG the QUALIFIER_MODE is selected (&lt;/SPAN&gt;&lt;STRONG&gt;0x0=enable, 0x1=disable&lt;/STRONG&gt;&lt;SPAN&gt;, 0x2=slice, 0x3=pin).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;With bit 8 (INV_QUALIFIER) of SLICE_MUX_CFG one can invert the qualifier (0x0=normal qualifier, 0x1=inverted qualifier).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However if one sets &lt;/SPAN&gt;&lt;STRONG&gt;INV_QUALIFIER=0x1&lt;/STRONG&gt;&lt;SPAN&gt;, then the meanings of the first 2 alternatives of the QUALIFIER_MODE are reversed, in other words: &lt;/SPAN&gt;&lt;STRONG&gt;0x0=disabled and 0x1=enabled&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tested this with a pin-qualifier using the LPC4330-Xplorer board.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;pdv&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:45:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SGPIO-inverted-clock-qualifier/m-p/561449#M16289</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: SGPIO inverted clock qualifier</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SGPIO-inverted-clock-qualifier/m-p/561450#M16290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by xianghuiwang on Tue Feb 17 13:44:22 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks, pdy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We will check and clarify this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:45:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SGPIO-inverted-clock-qualifier/m-p/561450#M16290</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: SGPIO inverted clock qualifier</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SGPIO-inverted-clock-qualifier/m-p/561451#M16291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Wed Feb 18 01:52:09 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;While you are at it, it would be nice if you could clean up Figure 43 "Basic operation of one slice" w.r.t. qualifier and clock selection.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:45:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SGPIO-inverted-clock-qualifier/m-p/561451#M16291</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: SGPIO inverted clock qualifier</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SGPIO-inverted-clock-qualifier/m-p/561452#M16292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by JohnR on Wed Feb 18 07:05:58 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Starblue&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: starblue&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;While you are at it, it would be nice if you could clean up Figure 43 "Basic operation of one slice" w.r.t. qualifier and clock selection.&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please expand on that sentence? Having got SGPIO working more or less by trial and error, I would be interested in knowing more about its operation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;JohnR&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:45:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SGPIO-inverted-clock-qualifier/m-p/561452#M16292</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: SGPIO inverted clock qualifier</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SGPIO-inverted-clock-qualifier/m-p/561453#M16293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Thu Feb 19 02:15:31 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: JohnR&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: starblue&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;While you are at it, it would be nice if you could clean up Figure 43 "Basic operation of one slice" w.r.t. qualifier and clock selection.&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;Could you please expand on that sentence? Having got SGPIO working more or less by trial and error, I would be interested in knowing more about its operation.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If in Figure 43 you look at the 4-way multiplexer for the clocks with the single input labeled "qualifier" and compare it to the register description, it just doesn't make sense.&amp;nbsp; IMHO there need to be separate multiplexers for clock and qualifier selection, maybe in a separate figure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've used a /CS signal from another slice as a qualifier for an SPI clock, for reading data from an ADC with two data lines. That worked nicely. (The qualifier enables the clock, in case that is your question?)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:45:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SGPIO-inverted-clock-qualifier/m-p/561453#M16293</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: SGPIO inverted clock qualifier</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SGPIO-inverted-clock-qualifier/m-p/561454#M16294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by JohnR on Thu Feb 19 06:52:09 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;I've used a /CS signal from another slice as a qualifier for an SPI clock, for reading data from an ADC with two data lines. That worked nicely. (The qualifier enables the clock, in case that is your question?)&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, that's exactly what I did in my system, except that I toggled a spare GPIO pin rather than using another SGPIO channel.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If NXP were thinking of redesigning the SGPIO system, the ability to reverse the counter direction would be wonderful in handling inputs that were either MSB- or LSB-first.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;JohnR&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:45:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SGPIO-inverted-clock-qualifier/m-p/561454#M16294</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: SGPIO inverted clock qualifier</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SGPIO-inverted-clock-qualifier/m-p/561455#M16295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by xianghuiwang on Fri Feb 20 18:59:50 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The observed behavior is indeed the case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;With bits 6:5 of SGPIO_MUX_CFG the QUALIFIER_MODE is selected (0x0=enable, 0x1=disable, 0x2=slice, 0x3=pin).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;With bit 8 (INV_QUALIFIER) of SLICE_MUX_CFG one can invert the qualifier (0x0=normal qualifier, 0x1=inverted qualifier).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However if one sets INV_QUALIFIER=0x1, then the meanings of the first 2 alternatives of the QUALIFIER_MODE are reversed, in other words: 0x0=disabled and 0x1=enabled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Technically the qualifier_mode &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-0x0 makes the qualifier continues 1, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-0x1 makes it continues 0,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-0x2 ..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-0x3 ..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The inversion turns the 1 into 0 and the 0 into 1 causing the strange observation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:45:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SGPIO-inverted-clock-qualifier/m-p/561455#M16295</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:45:23Z</dc:date>
    </item>
  </channel>
</rss>

