<?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: FOPT and using RESET_b as GPIO on KL03 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FOPT-and-using-RESET-b-as-GPIO-on-KL03/m-p/529243#M32812</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, a zip file with the project folder is below. Thanks for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.mediafire.com/download/2jalf2j606vpsoh/uvision.zip" title="http://www.mediafire.com/download/2jalf2j606vpsoh/uvision.zip"&gt;http://www.mediafire.com/download/2jalf2j606vpsoh/uvision.zip&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jul 2016 09:03:55 GMT</pubDate>
    <dc:creator>dsam1</dc:creator>
    <dc:date>2016-07-28T09:03:55Z</dc:date>
    <item>
      <title>FOPT and using RESET_b as GPIO on KL03</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FOPT-and-using-RESET-b-as-GPIO-on-KL03/m-p/529237#M32806</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;I'm trying to use the RESET_b pin in its ALT1 configuration on the MKL03Z8VFG4, PTA1 GPIO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using uVision and created the project there. In the startup_MKL03Z4.s file, I see the line:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;FOPT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EQU&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xBD&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;To changed the value to&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;FOPT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EQU&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xB5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1011 0101&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;in order to disable the RESET function.&lt;/P&gt;&lt;P&gt;Then in my main.c, I put:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;PORTA_PCR1 = 0x141;&lt;/P&gt;&lt;P&gt;GPIOA_PDDR = 0x2;&lt;/P&gt;&lt;P&gt;GPIOA_PSOR = 0x2;&lt;/P&gt;&lt;P&gt;while(1){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(int i=0; i&amp;lt;200000; i++){}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GPIOA_PTOR = 0x2;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // port A pin 1 toggle&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I see a little something happening on the pin (like toggling between GND and Hi-Z) but it's not driving an LED. What am I doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2016 08:48:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FOPT-and-using-RESET-b-as-GPIO-on-KL03/m-p/529237#M32806</guid>
      <dc:creator>dsam1</dc:creator>
      <dc:date>2016-07-22T08:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: FOPT and using RESET_b as GPIO on KL03</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FOPT-and-using-RESET-b-as-GPIO-on-KL03/m-p/529238#M32807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&amp;nbsp; I have found some errors in your code:&lt;/P&gt;&lt;P&gt;1. enable portA clock.&lt;/P&gt;&lt;P&gt;Please add this code before your do PORTA configuration.&lt;/P&gt;&lt;P&gt;&amp;nbsp; SIM_SCGC5 |= SIM_SCGC5_PORTA_MASK;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. for code have error.&lt;/P&gt;&lt;P&gt;&amp;nbsp; for(int i=0; i&amp;lt;200000; i++){}&lt;/P&gt;&lt;P&gt;int i, the max data is 32767, so if you use for(int i=0; i&amp;lt;200000; i++){}, the code won't execute toggle GPIO.&lt;/P&gt;&lt;P&gt;You can use this code for delay:&lt;/P&gt;&lt;P&gt;unsigned int i,j;&lt;/P&gt;&lt;P&gt;for(i=0;i&amp;lt;10;i++) for(j=0;j&amp;lt;65535;j++);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to disable the reset function on the PTA1, and the PTA1 can toggle.&lt;/P&gt;&lt;P&gt;After you download the code, please power on your board again, and test the reset pin.&lt;/P&gt;&lt;P&gt;Following code for your reference in main, after modify the FOPT to 0XB5:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SIM-&amp;gt;SCGC5 |= SIM_SCGC5_PORTA_MASK;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PORTA_PCR1 = PORT_PCR_MUX(1) | PORT_PCR_DSE_MASK | PORT_PCR_PE_MASK | PORT_PCR_PS_MASK;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GPIOA_PDDR |= 1&amp;lt;&amp;lt;1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GPIOA_PSOR |= 1&amp;lt;&amp;lt;1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; while (1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0;i&amp;lt;10;i++) for(j=0;j&amp;lt;65535;j++);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GPIOA_PTOR |= 1&amp;lt;&amp;lt;1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you still have question, please let me know!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jingjing&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>Mon, 25 Jul 2016 03:04:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FOPT-and-using-RESET-b-as-GPIO-on-KL03/m-p/529238#M32807</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-07-25T03:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: FOPT and using RESET_b as GPIO on KL03</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FOPT-and-using-RESET-b-as-GPIO-on-KL03/m-p/529239#M32808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jingjing, thank you for your help.&lt;/P&gt;&lt;P&gt;I have been setting the registers by hand, without using the masks, just so I can be sure the bits are doing what I want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my complete main.c. The code successfully toggles &lt;STRONG&gt;PTA7&lt;/STRONG&gt;, but not &lt;STRONG&gt;PTA1&lt;/STRONG&gt;. Something must be missing!&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;#include "system_MKL03Z4.h"&lt;/P&gt;&lt;P&gt;#include "MKL03Z4.h"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int main(){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SystemInit();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SIM_SCGC5 |= 0x200;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //&amp;nbsp; port A clock enable (bit 9 set)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PORTA_PCR1 = 0x141;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // port A pin 1 is gpio(alt1) (bit 8 set), drive strength high (bit 6 set)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PORTA_PCR7 = 0x141;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // port A pin 7 is gpio(alt1) (bit 8 set), drive strength high (bit 6 set)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GPIOA_PDDR |= 0x2;&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; // port A pin 1 is output (bit 1 set)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GPIOA_PDDR |= 0x80;&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; // port A pin 7 is output (bit 7 set)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PORTB_PCR1 = 0x243;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // port B pin 1 is lpuarttx(alt2) (bit 9 set), drive strength high (bit 6 set), pullup enable&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PORTB_PCR2 = 0x203;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // port B pin 1 is lpuartrx(alt2) (bit 9 set), pullup enable&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; unsigned int j;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(1){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(j=0;j&amp;lt;65535;j++){}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GPIOA_PTOR = 0x82;&amp;nbsp;&amp;nbsp;&amp;nbsp; // port A pin 1 and pin 7 toggle&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return(0);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;And in my startup_MKL03Z4.s file I have the line:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;FOPT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EQU&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xB5 ; 1011 0101&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I think the code above covers all the register settings you suggested. There must be something missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2016 05:51:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FOPT-and-using-RESET-b-as-GPIO-on-KL03/m-p/529239#M32808</guid>
      <dc:creator>dsam1</dc:creator>
      <dc:date>2016-07-28T05:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: FOPT and using RESET_b as GPIO on KL03</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FOPT-and-using-RESET-b-as-GPIO-on-KL03/m-p/529240#M32809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you for your more details.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Your code is correct now.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Please check these points:&lt;/P&gt;&lt;P&gt;1. generate the hex file&lt;/P&gt;&lt;P&gt;&amp;nbsp; Then check 0x40d in the hex file, whether it is 0XD5 which you write?&lt;/P&gt;&lt;P&gt;2. what the IDE you are using?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you use the IAR, you should add "“--enable_config_write" in the flash loader configuration, otherwise, the IAR will protect 0X400 area, even you write it, the code download to the chip can't be changed.&lt;/P&gt;&lt;P&gt;3. What the debug you are using?&lt;/P&gt;&lt;P&gt;&amp;nbsp; Please download the code to the chip, and test it without debugging it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jingjing&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>Thu, 28 Jul 2016 06:22:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FOPT-and-using-RESET-b-as-GPIO-on-KL03/m-p/529240#M32809</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-07-28T06:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: FOPT and using RESET_b as GPIO on KL03</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FOPT-and-using-RESET-b-as-GPIO-on-KL03/m-p/529241#M32810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. I'm not sure exactly how to read the hex file, but here are the last 3 lines:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;:10040000FFFFFFFFFFFFFFFFFFFFFFFFFEB5FFFF47&lt;/P&gt;&lt;P&gt;:040000050000014BAB&lt;/P&gt;&lt;P&gt;:00000001FF&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Is that the right section? I see B5 in there near the end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I am using Keil uVision IDE to write the code, compiling to hex, and flashing with KinetisFlashTool over UART. I don't see an option to enable_config_write anywhere in there.&lt;/P&gt;&lt;P&gt;3. No debugger. I load the hex to the chip with KinetisFlashTool, then reboot it (power off/on) to run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2016 06:45:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FOPT-and-using-RESET-b-as-GPIO-on-KL03/m-p/529241#M32810</guid>
      <dc:creator>dsam1</dc:creator>
      <dc:date>2016-07-28T06:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: FOPT and using RESET_b as GPIO on KL03</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FOPT-and-using-RESET-b-as-GPIO-on-KL03/m-p/529242#M32811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Send me your test project, I would like to help you to check it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; After I found your problem, I will modify it and tell you, after modifcation, I will send it back to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jingjing&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>Thu, 28 Jul 2016 07:16:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FOPT-and-using-RESET-b-as-GPIO-on-KL03/m-p/529242#M32811</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-07-28T07:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: FOPT and using RESET_b as GPIO on KL03</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FOPT-and-using-RESET-b-as-GPIO-on-KL03/m-p/529243#M32812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, a zip file with the project folder is below. Thanks for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.mediafire.com/download/2jalf2j606vpsoh/uvision.zip" title="http://www.mediafire.com/download/2jalf2j606vpsoh/uvision.zip"&gt;http://www.mediafire.com/download/2jalf2j606vpsoh/uvision.zip&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2016 09:03:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FOPT-and-using-RESET-b-as-GPIO-on-KL03/m-p/529243#M32812</guid>
      <dc:creator>dsam1</dc:creator>
      <dc:date>2016-07-28T09:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: FOPT and using RESET_b as GPIO on KL03</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FOPT-and-using-RESET-b-as-GPIO-on-KL03/m-p/529244#M32813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured out a little piece of the puzzle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I pull up PTA1 with a resistor, it toggles. Open drain behavior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From what the datasheet says, it seems like I should make this a push-pull driven output by:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;PORTA_PCR1 = 0x143;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Is this not true? If so I have to re-work 100 pcbs :smileyshocked:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Jul 2016 22:49:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FOPT-and-using-RESET-b-as-GPIO-on-KL03/m-p/529244#M32813</guid>
      <dc:creator>dsam1</dc:creator>
      <dc:date>2016-07-31T22:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: FOPT and using RESET_b as GPIO on KL03</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FOPT-and-using-RESET-b-as-GPIO-on-KL03/m-p/529245#M32814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; In our KL quick reference manual, we recommend customer add 4.7K to 10k external pullup resistor on the RESET_b pin, because the internal pullup is weak.&lt;/P&gt;&lt;P&gt;&amp;nbsp; You can find the KL quick reference manual in this link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/files/32bit/doc/quick_ref_guide/KLQRUG.pdf?fasp=1&amp;amp;WT_TYPE=Users%20Guides&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" title="http://www.nxp.com/files/32bit/doc/quick_ref_guide/KLQRUG.pdf?fasp=1&amp;amp;WT_TYPE=Users%20Guides&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf"&gt;http://www.nxp.com/files/32bit/doc/quick_ref_guide/KLQRUG.pdf?fasp=1&amp;amp;WT_TYPE=Users%20Guides&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_…&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; page 23.&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you didn't add the external pullup resistor, you must enable the internal pullup by the code:&lt;/P&gt;&lt;P&gt;PORTA_PCR1 = 0x143;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Otherwise, PTA1 can't toggle, my board also have the external pullup, so PTA1 on my side can toggle.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Please add internal pull by the code, then try again on you side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jingjing&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>Mon, 01 Aug 2016 02:16:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FOPT-and-using-RESET-b-as-GPIO-on-KL03/m-p/529245#M32814</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-08-01T02:16:31Z</dc:date>
    </item>
  </channel>
</rss>

