<?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 How do decide the CPSDVSR value (2 to 254) given a Frequency and Pclk to find SCR value. in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-do-decide-the-CPSDVSR-value-2-to-254-given-a-Frequency-and/m-p/521700#M4338</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by sakethsainarayana on Tue Mar 22 20:29:37 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hey,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to understand on how to choose a CPSDVSR value i.e., on what basis should i decide this value in order to calculate the SCR value when i have a SPI frequency and Pclk value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My professor has chosen 32 but hasnt given any explanation about why and how to choose the values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any response would help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:52:58 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:52:58Z</dc:date>
    <item>
      <title>How do decide the CPSDVSR value (2 to 254) given a Frequency and Pclk to find SCR value.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-do-decide-the-CPSDVSR-value-2-to-254-given-a-Frequency-and/m-p/521700#M4338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by sakethsainarayana on Tue Mar 22 20:29:37 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hey,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to understand on how to choose a CPSDVSR value i.e., on what basis should i decide this value in order to calculate the SCR value when i have a SPI frequency and Pclk value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My professor has chosen 32 but hasnt given any explanation about why and how to choose the values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any response would help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:52:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-do-decide-the-CPSDVSR-value-2-to-254-given-a-Frequency-and/m-p/521700#M4338</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do decide the CPSDVSR value (2 to 254) given a Frequency and Pclk to find SCR value.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-do-decide-the-CPSDVSR-value-2-to-254-given-a-Frequency-and/m-p/521701#M4339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MikeSimmonds on Wed Mar 23 03:30:17 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Most SPI type devices will have a maximum frequency at which they will operate reliably.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Read the data sheet for your device to see what this is for your case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mostly, the frequency is quite low e.g. 30 to 50 MHz max.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The PCLK is a simple divided down CPU clock.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is often quite high (relatively) e.g. up to 120 MHz.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By dividing (or prescaling) the PCLK for the SSP module we get better control (granularity)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;of the (integer arithmetic) speeds available in the bit rate formula (see control reg 0 in the UM).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know your numbers, but I would guess that the 32 you mentioned gives a nice 'base' frequency' to work with.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HTH, Mike.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:52:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-do-decide-the-CPSDVSR-value-2-to-254-given-a-Frequency-and/m-p/521701#M4339</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: How do decide the CPSDVSR value (2 to 254) given a Frequency and Pclk to find SCR value.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-do-decide-the-CPSDVSR-value-2-to-254-given-a-Frequency-and/m-p/521702#M4340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;bump&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jun 2016 01:06:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-do-decide-the-CPSDVSR-value-2-to-254-given-a-Frequency-and/m-p/521702#M4340</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-19T01:06:05Z</dc:date>
    </item>
  </channel>
</rss>

