<?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のトピックMKW01xx DIO0/DIO1 interrupt</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01xx-DIO0-DIO1-interrupt/m-p/325582#M14971</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I'm using MKW01 with Radio Utility firmware. I've correctly routed DIO0/DIO1 to PTC3/PTC4, but when I want to send a packet, the only interrupt generated is the TxFifoLevel related to DIO1. My packet (10 byte length) is splitted in two blocks, but then I never received the PacketSent interrupt on DIO0. &lt;/P&gt;&lt;P&gt;1) Could it be a software problem? If there's a version for pre-production chip, I can test it on &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MRB-KW0x&amp;amp;parentCode=KW0x&amp;amp;fpsp="&gt;Reference Board&lt;/A&gt; &lt;/P&gt;&lt;P&gt;2) Does it still works without connections to PTC3 and 4?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jun 2014 10:43:59 GMT</pubDate>
    <dc:creator>mircopizzichini</dc:creator>
    <dc:date>2014-06-27T10:43:59Z</dc:date>
    <item>
      <title>MKW01xx DIO0/DIO1 interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01xx-DIO0-DIO1-interrupt/m-p/325582#M14971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I'm using MKW01 with Radio Utility firmware. I've correctly routed DIO0/DIO1 to PTC3/PTC4, but when I want to send a packet, the only interrupt generated is the TxFifoLevel related to DIO1. My packet (10 byte length) is splitted in two blocks, but then I never received the PacketSent interrupt on DIO0. &lt;/P&gt;&lt;P&gt;1) Could it be a software problem? If there's a version for pre-production chip, I can test it on &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MRB-KW0x&amp;amp;parentCode=KW0x&amp;amp;fpsp="&gt;Reference Board&lt;/A&gt; &lt;/P&gt;&lt;P&gt;2) Does it still works without connections to PTC3 and 4?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2014 10:43:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01xx-DIO0-DIO1-interrupt/m-p/325582#M14971</guid>
      <dc:creator>mircopizzichini</dc:creator>
      <dc:date>2014-06-27T10:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: MKW01xx DIO0/DIO1 interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01xx-DIO0-DIO1-interrupt/m-p/325583#M14972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/CesarM" rel="nofollow noopener noreferrer" target="_blank"&gt;CesarM&lt;/A&gt;, maybe you can be helpful...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I noticed that when PTC3 is asserted, indicating TxPacketSent, the interrupt handler is still PhyTxHandleFifoLevelEvent and not PhyTxPacketSentEvent.&lt;/P&gt;&lt;P&gt;So in PhyISR.c, I think should be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="_jivemacro_uid_14038855914664759 jive_text_macro jive_macro_code" jivemacro_uid="_14038855914664759"&gt;
&lt;P&gt;void PhyTxHandleFifoLevelEvent(void)&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&amp;nbsp; if(mPhyTxIsrParams.remainingLength &amp;gt; 0)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MKW01Drv_FillFifo();&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; gpfPendingTxEvent = PhyTxHandleFifoLevelEvent;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(mPhyTxIsrParams.remainingLength == 0) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gpfPendingTxEvent = PhyTxPacketSentEvent; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MKW01Drv_IRQ_DIO1_Disable();&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because in this way, when Fifo has been properly filled with all outgoing byte, PhyTxPacketSentEvent becomes the new PendingEvent, and when there's a transmission complete interrupt from PTC3 (DIO0), flag bPcktHandlerTxDone can be set TRUE.&lt;/P&gt;&lt;P&gt;Tell me if it can be right, old version (the one downloaded from freescale website) doesn't work on my board...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2014 16:21:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01xx-DIO0-DIO1-interrupt/m-p/325583#M14972</guid>
      <dc:creator>mircopizzichini</dc:creator>
      <dc:date>2014-06-27T16:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: MKW01xx DIO0/DIO1 interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01xx-DIO0-DIO1-interrupt/m-p/325584#M14973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To disregard any HW problem please refer to the connections on the MRB-KW01 board.&lt;/P&gt;&lt;P&gt;You can have access to the schematics on the followig site:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MRB-KW0x&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MRB-KW0x&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"MRB-KW0x Design Files: Hardware Schematics, Gerbers, and System BOM"&lt;/P&gt;&lt;P&gt;SPF-27792_D.pdf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In regards of the Packet Sent Interrupt via DIO0:&lt;/P&gt;&lt;P&gt;The actual code for all Application demonstration projects uses the "PhyTxHandleFifoLevelEvent" as it is, &lt;/P&gt;&lt;P&gt;so I don't think this is the root cause for what you are experiencing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically the actual code on that function checks if there is any byte left on the payload otherwise the TxPAcketSentEvent is generated.&lt;/P&gt;&lt;P&gt;During debug mode check the status of mPhyTxIsrParams.remainingLength, if PhyTxPacketSentEvent is not being executed then it means that the FIFO is still being filled. &lt;/P&gt;&lt;P&gt;Put a breakpoint inside this condition:&lt;/P&gt;&lt;P&gt;&amp;nbsp; else&lt;/P&gt;&lt;P&gt;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; gpfPendingTxEvent = PhyTxPacketSentEvent; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //FifoLevelMask&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MKW01Drv_IRQ_DIO1_Disable();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to determine if you are ever reaching it. &lt;/P&gt;&lt;P&gt;This might be more helpful than monitoring the activity of DIO0, that you now know that is ocurring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Running the Radio Utility Application demonstration as it is will require that your board is setup as the MRB:&lt;/P&gt;&lt;P&gt;- 32MHz crystal connected to XTB/XTA&lt;/P&gt;&lt;P&gt;- UART0 port used for the terminal interface&lt;/P&gt;&lt;P&gt;- DIO5/CLKOUT signal connected to PTA18&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2014 20:57:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01xx-DIO0-DIO1-interrupt/m-p/325584#M14973</guid>
      <dc:creator>CesarM</dc:creator>
      <dc:date>2014-06-27T20:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: MKW01xx DIO0/DIO1 interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01xx-DIO0-DIO1-interrupt/m-p/325585#M14974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, thank you Cesar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put a breakpoint in that condition, and I correctly reach it. But then, an interrupt on DIO0 is never asserted, while DIO1 (FIFO filled) is occurring three times (because my packet is 18 byte length).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use hw configuration as the MRB, with just two differences:&lt;/P&gt;&lt;P&gt;- UART2 instead of UART0 (but I checked that it works correctly, I can communicate with a serial terminal on PC)&lt;/P&gt;&lt;P&gt;- PTA4 instead of PTA20 (but I changed PIN inizialization to make it work, and I think it's right because I can correctly read internal transceiver registers)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I don't think it is an hw problem.&lt;/P&gt;&lt;P&gt;I've also tested Radio utility on MRB, but it doesnt work as is.&lt;/P&gt;&lt;P&gt;In Platform_Init, I can not even read transceiver internal registers (MKW01Drv_ReadRegister). Maybe there are other fw versions I could test?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2014 07:30:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01xx-DIO0-DIO1-interrupt/m-p/325585#M14974</guid>
      <dc:creator>mircopizzichini</dc:creator>
      <dc:date>2014-06-30T07:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: MKW01xx DIO0/DIO1 interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01xx-DIO0-DIO1-interrupt/m-p/325586#M14975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-avatarid="1034" data-externalid="" data-online="false" data-presence="null" data-userid="223255" data-username="mircopizzichini" href="https://community.nxp.com/people/mircopizzichini" style="font-weight: bold; font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #8b8b8b; text-decoration: underline; background-color: #f6f6f6;"&gt;mircopizzichini, &lt;/A&gt;&lt;/P&gt;&lt;P&gt;Sorry for the delay on the reply, I didn't receive a notification that you replied :S&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It doesn't sound right that the Radio Utility Application is not working even on the MRB so I'm thinking you might have an old version of the firmware? (Not sure)&lt;/P&gt;&lt;P&gt;Just to be on the same page in regards of the version of the demo you have, please download the MKW01 Board Support package from the following site:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="loading" href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MRB-KW0x&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab" title="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MRB-KW0x&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MRB-KW0x&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Under section "Operating System Software-Board Support Packages" download the followng: KW01 Board Support Package. &lt;/P&gt;&lt;P&gt;That file contains the latest version of the Radio Utility source code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2014 14:59:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01xx-DIO0-DIO1-interrupt/m-p/325586#M14975</guid>
      <dc:creator>CesarM</dc:creator>
      <dc:date>2014-07-08T14:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: MKW01xx DIO0/DIO1 interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01xx-DIO0-DIO1-interrupt/m-p/325587#M14976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Cesar. I think the problem is that I've an old version of the MRB (with the preproduction chip and the ENG sign on it). Now I've just ordered those with the new chip, the one on which Radio Utility Application has been developed. When I have the board, I'll test it with the newest firmware. I'll let you know. Bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2014 15:09:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01xx-DIO0-DIO1-interrupt/m-p/325587#M14976</guid>
      <dc:creator>mircopizzichini</dc:creator>
      <dc:date>2014-07-08T15:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Re: MKW01xx DIO0/DIO1 interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01xx-DIO0-DIO1-interrupt/m-p/325588#M14977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/CesarM" rel="nofollow noopener noreferrer" target="_blank"&gt;CesarM&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've just received the MRB with the correct chip. Now I'm testing the firmware you linked me, but I think there's a wrong configuration.&lt;/P&gt;&lt;P&gt;In project options, why target device is Freescale MKL25Z128xxx4? Chip configuration is different! In derivative.h there is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_14065520395023885 jive_macro_code" jivemacro_uid="_14065520395023885"&gt;
&lt;P&gt;#include "MKL25Z4.h"&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this way, SPI doesn't work: debug stops at WaitSPITxBufferEmpty. I discovered that SPI registers configuration are different: SPI data register of MKW01, or MKL26, is at 0x40076000, while in MKL25Z4 is declared at 0x40076004. Indeed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="_jivemacro_uid_14065526115505389 jive_text_macro jive_macro_code" jivemacro_uid="_14065526115505389"&gt;
&lt;P&gt;typedef struct SPI_MemMap {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; uint8_t C1;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /**&amp;lt; SPI control register 1, offset: 0x0 */&lt;/P&gt;
&lt;P&gt;&amp;nbsp; uint8_t C2;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /**&amp;lt; SPI control register 2, offset: 0x1 */&lt;/P&gt;
&lt;P&gt;&amp;nbsp; uint8_t BR;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /**&amp;lt; SPI baud rate register, offset: 0x2 */&lt;/P&gt;
&lt;P&gt;&amp;nbsp; uint8_t S;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /**&amp;lt; SPI status register, offset: 0x3 */&lt;/P&gt;
&lt;P&gt;&amp;nbsp; uint8_t RESERVED_0[1];&lt;/P&gt;
&lt;P&gt;&amp;nbsp; uint8_t D;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /**&amp;lt; SPI data register, offset: 0x5 */&lt;/P&gt;
&lt;P&gt;&amp;nbsp; uint8_t RESERVED_1[1];&lt;/P&gt;
&lt;P&gt;&amp;nbsp; uint8_t M;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /**&amp;lt; SPI match register, offset: 0x7 */&lt;/P&gt;
&lt;P&gt;} volatile *SPI_MemMapPtr;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I corrected manually these struct, replacing it in my header file, and adding&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14065534015118078" jivemacro_uid="_14065534015118078" modifiedtitle="true"&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;#include "MKL26Z4.h"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now debug stops at WaitSPIRxBufferFull, so waiting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="_jivemacro_uid_14065528274141501 jive_text_macro jive_macro_code" jivemacro_uid="_14065528274141501"&gt;
&lt;P&gt;while(!(SpiRegs-&amp;gt;S &amp;amp; SPI_S_SPRF_MASK));&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there something wrong or I'm missing something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Mirco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 13:18:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01xx-DIO0-DIO1-interrupt/m-p/325588#M14977</guid>
      <dc:creator>mircopizzichini</dc:creator>
      <dc:date>2014-07-28T13:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Re: MKW01xx DIO0/DIO1 interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01xx-DIO0-DIO1-interrupt/m-p/325589#M14978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;What Application demo and board do you have?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If&amp;nbsp; you download the KW01 Board Support Package (which includes Radio Utility Application Demo source code) from the downloads tab in the MRB-KW0x website (&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MRB-KW0x"&gt;www.freescale.com/mrb-kw0x&lt;/A&gt;) the derivative.h file contains #include "MKL26Z4.h"&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This demo is suited for any of the MRB boards (NA, EU)&amp;nbsp; available for sale in the website.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 14:22:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01xx-DIO0-DIO1-interrupt/m-p/325589#M14978</guid>
      <dc:creator>CesarM</dc:creator>
      <dc:date>2014-07-28T14:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: MKW01xx DIO0/DIO1 interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01xx-DIO0-DIO1-interrupt/m-p/325590#M14979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mmm, you're right... Maybe I made a change that should not be done. Now i've re-downloaded it, but the problem still remains. &lt;/P&gt;&lt;P&gt;In platform initialization (main, line 275) I call MKW01Drv_ReadRegister(...), but debug stops here, waiting Tx Buffer Empty&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14065589606118565" jivemacro_uid="_14065589606118565" modifiedtitle="true"&gt;
&lt;P&gt;while(!(SpiRegs-&amp;gt;S &amp;amp; SPI_S_SPTEF_MASK))&lt;SPAN style="color: #575757; font-family: arial, helvetica, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 14:50:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01xx-DIO0-DIO1-interrupt/m-p/325590#M14979</guid>
      <dc:creator>mircopizzichini</dc:creator>
      <dc:date>2014-07-28T14:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: MKW01xx DIO0/DIO1 interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01xx-DIO0-DIO1-interrupt/m-p/325591#M14980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I didn't answer your question&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using Radio Utility Application Demo, the board is MRB-KW019032.&lt;/P&gt;&lt;P&gt;In project general options, target device is "Freescale MKL25Z128xxx4", so I changed it to "Freescale MKW01Z128xxx4".&lt;/P&gt;&lt;P&gt;I flashed the firmware as well as I downloaded it, but I've an infinite waiting (as written above) because in SPI initilization, SPTEF (or SPRF) is never set before performing a write (or read) operation.&lt;/P&gt;&lt;P&gt;Do you have the same issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 08:04:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01xx-DIO0-DIO1-interrupt/m-p/325591#M14980</guid>
      <dc:creator>mircopizzichini</dc:creator>
      <dc:date>2014-07-29T08:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: MKW01xx DIO0/DIO1 interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01xx-DIO0-DIO1-interrupt/m-p/325592#M14981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have the same board (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MRB-KW019032&lt;/SPAN&gt;), I have followed the steps you mention (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;In project general options, target device is "Freescale MKL25Z128xxx4", so I changed it to "Freescale MKW01Z128xxx4"&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;And I'm able to run the project without the issue you mention.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This leaves room for the following:&lt;/P&gt;&lt;P&gt;1) Make sure you have the jumper settings in the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MRB-KW019032&lt;/SPAN&gt; as indicated in the Quick Start Guide.&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/microcontrollers/doc/user_guide/MKW01DEVPLATQSG.pdf?fpsp=1"&gt;http://cache.freescale.com/files/microcontrollers/doc/user_guide/MKW01DEVPLATQSG.pdf?fpsp=1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2) In the BSP make sure you are loading the following source code: Radio Utility_SW_NA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a video with the steps I did to run the projec&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;t&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;.&lt;/SPAN&gt;&lt;div class="lia-vid-container video-embed-center lia-video-unavailable"&gt;&lt;div id="lia-vid-2281w320h240r160" class="lia-video-ooyala-player-container"&gt;&lt;div class="lia-video-status-message"&gt;このビデオは削除されました&lt;/div&gt;&lt;/div&gt;&lt;a class="video-embed-link" href="https://community.nxp.com/t5/video/gallerypage/video-id/2281"&gt;（マイビデオを表示）&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 16:54:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01xx-DIO0-DIO1-interrupt/m-p/325592#M14981</guid>
      <dc:creator>CesarM</dc:creator>
      <dc:date>2014-08-15T16:54:50Z</dc:date>
    </item>
  </channel>
</rss>

