<?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>Kinetis MicrocontrollersのトピックRe: Reading SPI NOR ID using kinetis k70</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-SPI-NOR-ID-using-kinetis-k70/m-p/673706#M41402</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi，&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you provide more info about the SPI NOR Flash part number?&lt;/P&gt;&lt;P&gt;And if possible, could you post the Processor Expert code for double check?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Jul 2017 06:42:59 GMT</pubDate>
    <dc:creator>Hui_Ma</dc:creator>
    <dc:date>2017-07-25T06:42:59Z</dc:date>
    <item>
      <title>Reading SPI NOR ID using kinetis k70</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-SPI-NOR-ID-using-kinetis-k70/m-p/673705#M41401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using spi 1 of kinetis k70 (connected to spi nor)&lt;/P&gt;&lt;P&gt;I am trying to read manufacturer id of spi nor ,&lt;/P&gt;&lt;P&gt;For this i have to write "9f" to spi nor and it will written manufacturer id ,but i am able to read the data&lt;/P&gt;&lt;P&gt;I have used the example given in help&lt;/P&gt;&lt;P&gt;and used spi and consoleio components from processor expert&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;#include "Cpu.h"&lt;BR /&gt;#include "Events.h"&lt;BR /&gt;#include "SM1.h"&lt;BR /&gt;#include "CsIO1.h"&lt;BR /&gt;#include "IO1.h"&lt;BR /&gt;/* Including shared modules, which are used for whole project */&lt;BR /&gt;#include "PE_Types.h"&lt;BR /&gt;#include "PE_Error.h"&lt;BR /&gt;#include "PE_Const.h"&lt;BR /&gt;#include "IO_Map.h"&lt;BR /&gt;&lt;BR /&gt;#define BLOCK_SIZE 4&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;uint8_t OutData[BLOCK_SIZE] = "9F";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;uint8_t InpData[BLOCK_SIZE];&lt;BR /&gt;volatile LDD_SPIMASTER_TError ComError = 0U;&lt;BR /&gt;LDD_TError Error;&lt;BR /&gt;LDD_TDeviceData *MySPIPtr;&lt;BR /&gt;&lt;BR /&gt;int main(void)&lt;BR /&gt;&lt;BR /&gt;{&lt;BR /&gt; /*** Processor Expert internal initialization. DON'T REMOVE THIS CODE!!! ***/&lt;BR /&gt; PE_low_level_init();&lt;BR /&gt; /*** End of Processor Expert internal initialization. ***/&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; MySPIPtr = SM1_Init(NULL); /* Initialization of SM1 component */&lt;/P&gt;&lt;P&gt;while(1){&lt;BR /&gt; SM1_SelectConfiguration(MySPIPtr, 1U, 1U); /* Select chip select 0 and attribute set 0 */&lt;BR /&gt; Error = SM1_ReceiveBlock(MySPIPtr, InpData, BLOCK_SIZE); /* Request data block reception */&lt;BR /&gt; &lt;EM&gt;&lt;STRONG&gt;printf("Receive --&amp;gt; %x\n",InpData);&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt; Error = SM1_SendBlock(MySPIPtr, OutData, BLOCK_SIZE); /* Start transmission/reception */&lt;BR /&gt; while (!SM1_GetBlockReceivedStatus(MySPIPtr)) { /* Wait until data block is transmitted/received */&lt;BR /&gt; SM1_Main(MySPIPtr);&lt;BR /&gt; }&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt; &lt;BR /&gt; #ifdef PEX_RTOS_START&lt;BR /&gt; PEX_RTOS_START(); /* Startup of the selected RTOS. Macro is defined by the RTOS component. */&lt;BR /&gt; #endif&lt;BR /&gt; /*** End of RTOS startup code. ***/&lt;BR /&gt; /*** Processor Expert end of main routine. DON'T MODIFY THIS CODE!!! ***/&lt;BR /&gt; for(;;){}&lt;BR /&gt; /*** Processor Expert end of main routine. DON'T WRITE CODE BELOW!!! ***/&lt;BR /&gt;} /*** End of main routine. DO NOT MODIFY THIS TEXT!!! ***/&lt;/P&gt;&lt;P&gt;/* END main */&lt;BR /&gt;/*!&lt;BR /&gt;** @}&lt;BR /&gt;*/&lt;BR /&gt;/*&lt;BR /&gt;** ###################################################################&lt;BR /&gt;**&lt;BR /&gt;** This file was created by Processor Expert 10.5 [05.21]&lt;BR /&gt;** for the Freescale Kinetis series of microcontrollers.&lt;BR /&gt;**&lt;BR /&gt;** ###################################################################&lt;BR /&gt;*/&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;So when i print i get&amp;nbsp;&lt;EM style="background-color: #f6f6f6;"&gt;&lt;STRONG&gt;Receive --&amp;gt; 1fff00d8&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;EM style="background-color: #f6f6f6;"&gt;which is some wrong value ,ii think i am not reading correctly,what should i change in the program to do it&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 05:22:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-SPI-NOR-ID-using-kinetis-k70/m-p/673705#M41401</guid>
      <dc:creator>sameerarvikar</dc:creator>
      <dc:date>2017-07-19T05:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Reading SPI NOR ID using kinetis k70</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-SPI-NOR-ID-using-kinetis-k70/m-p/673706#M41402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi，&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you provide more info about the SPI NOR Flash part number?&lt;/P&gt;&lt;P&gt;And if possible, could you post the Processor Expert code for double check?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 06:42:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-SPI-NOR-ID-using-kinetis-k70/m-p/673706#M41402</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2017-07-25T06:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Reading SPI NOR ID using kinetis k70</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-SPI-NOR-ID-using-kinetis-k70/m-p/673707#M41403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer below document as an example:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-100304"&gt;https://community.nxp.com/docs/DOC-100304&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 07:10:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-SPI-NOR-ID-using-kinetis-k70/m-p/673707#M41403</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2017-07-25T07:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Reading SPI NOR ID using kinetis k70</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-SPI-NOR-ID-using-kinetis-k70/m-p/673708#M41404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;N25Q00AA13G1240E &lt;/P&gt;&lt;P&gt;I am not able to find any link to attach the generated code of processor expert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 04:09:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-SPI-NOR-ID-using-kinetis-k70/m-p/673708#M41404</guid>
      <dc:creator>sameerarvikar</dc:creator>
      <dc:date>2017-07-27T04:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Reading SPI NOR ID using kinetis k70</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-SPI-NOR-ID-using-kinetis-k70/m-p/673709#M41405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check below picture to use advanced editor to attach the project.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27752iA7E027359AA221CA/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ma Hui&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 06:03:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-SPI-NOR-ID-using-kinetis-k70/m-p/673709#M41405</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2017-07-27T06:03:03Z</dc:date>
    </item>
  </channel>
</rss>

