<?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: KEAZN64 SPI CS Goes High inbetween packet in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEAZN64-SPI-CS-Goes-High-inbetween-packet/m-p/1627164#M64916</link>
    <description>&lt;P style="margin: 0in; font-family: Montserrat; font-size: 12.0pt;" lang="es-MX"&gt;Sorry, we no longer support processor expert, neither KDS, we recommend you to switch to S32 Design Studio for Arm (&lt;A href="https://www.nxp.com/design/software/development-software/s32-design-studio-ide/s32-design-studio-for-arm:S32DS-ARM" target="_blank"&gt;https://www.nxp.com/design/software/development-software/s32-design-studio-ide/s32-design-studio-for-arm:S32DS-ARM&lt;/A&gt;)&lt;/P&gt;</description>
    <pubDate>Tue, 04 Apr 2023 00:37:53 GMT</pubDate>
    <dc:creator>CarlosGarabito</dc:creator>
    <dc:date>2023-04-04T00:37:53Z</dc:date>
    <item>
      <title>KEAZN64 SPI CS Goes High inbetween packet</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEAZN64-SPI-CS-Goes-High-inbetween-packet/m-p/1625510#M64889</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm currently interfacing with a device over SPI using the KEAZN64 microcontroller. I'm using Processor Expert in KDS for development, since the later NXP tools do not support the KEA line of micros. The device I'm interfacing with can operate up to 3.6Mhz. I've currently set the clock speed to 500KHz and I can interface over SPI just fine. When I increase the speed to 1MHz I'm seeing a small pulse on the CS line that breaks the existing code. I've attached a picture of a correct packet&amp;nbsp;@500KHz and an incorrect packet&amp;nbsp;@ 1MHz.&lt;/P&gt;&lt;P&gt;500 KHz:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="500KHz.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/217174iBF55750C08A5CA95/image-size/large?v=v2&amp;amp;px=999" role="button" title="500KHz.png" alt="500KHz.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;1 MHz:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1MHz.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/217175iCC1A2901B35B8933/image-size/large?v=v2&amp;amp;px=999" role="button" title="1MHz.png" alt="1MHz.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you can see in the 1MHz picture, the CS line goes high after the 4th byte for some reason, but this doesn't happen when I run it at 500KHz.&lt;/P&gt;&lt;P&gt;I'm using PE in KDS to generate the SPI code, and here is the diff between 500KHz and 1MHz:&lt;/P&gt;&lt;P&gt;500KHz:&lt;/P&gt;&lt;P&gt;/* SPI0_BR: ??=0,SPPR=0,SPR=4 */&lt;BR /&gt;SPI0_BR = (SPI_BR_SPPR(0x00) | SPI_BR_SPR(0x04)); /* Set baud rate register */&lt;/P&gt;&lt;P&gt;1MHz:&lt;/P&gt;&lt;P&gt;/* SPI0_BR: ??=0,SPPR=0,SPR=3 */&lt;BR /&gt;SPI0_BR = (SPI_BR_SPPR(0x00) | SPI_BR_SPR(0x03)); /* Set baud rate register */&lt;/P&gt;&lt;P&gt;I'd appreciate any help!&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 17:59:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEAZN64-SPI-CS-Goes-High-inbetween-packet/m-p/1625510#M64889</guid>
      <dc:creator>e1ali</dc:creator>
      <dc:date>2023-03-30T17:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: KEAZN64 SPI CS Goes High inbetween packet</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEAZN64-SPI-CS-Goes-High-inbetween-packet/m-p/1627164#M64916</link>
      <description>&lt;P style="margin: 0in; font-family: Montserrat; font-size: 12.0pt;" lang="es-MX"&gt;Sorry, we no longer support processor expert, neither KDS, we recommend you to switch to S32 Design Studio for Arm (&lt;A href="https://www.nxp.com/design/software/development-software/s32-design-studio-ide/s32-design-studio-for-arm:S32DS-ARM" target="_blank"&gt;https://www.nxp.com/design/software/development-software/s32-design-studio-ide/s32-design-studio-for-arm:S32DS-ARM&lt;/A&gt;)&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 00:37:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEAZN64-SPI-CS-Goes-High-inbetween-packet/m-p/1627164#M64916</guid>
      <dc:creator>CarlosGarabito</dc:creator>
      <dc:date>2023-04-04T00:37:53Z</dc:date>
    </item>
  </channel>
</rss>

