<?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のトピックSIM_SCGC6 is not declared</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SIM-SCGC6-is-not-declared/m-p/891585#M52681</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following issue, in my init.c I am using the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SIM_SCGC6 |= SIM_SCGC6_PIT_MASK | SIM_SCGC6_DMAMUX_MASK;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my init.h I am including the following:&lt;/P&gt;&lt;P&gt;#include "MK64F12.h"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I brought both the init.c and .h from a Kinetis project that is working correctly to MCUXpresso.&lt;/P&gt;&lt;P&gt;I don't understand why this is happening?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Under the project properties, I believe this is correct (I attached it):&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 May 2019 14:02:47 GMT</pubDate>
    <dc:creator>neilporven</dc:creator>
    <dc:date>2019-05-14T14:02:47Z</dc:date>
    <item>
      <title>SIM_SCGC6 is not declared</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SIM-SCGC6-is-not-declared/m-p/891585#M52681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following issue, in my init.c I am using the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SIM_SCGC6 |= SIM_SCGC6_PIT_MASK | SIM_SCGC6_DMAMUX_MASK;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my init.h I am including the following:&lt;/P&gt;&lt;P&gt;#include "MK64F12.h"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I brought both the init.c and .h from a Kinetis project that is working correctly to MCUXpresso.&lt;/P&gt;&lt;P&gt;I don't understand why this is happening?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Under the project properties, I believe this is correct (I attached it):&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2019 14:02:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SIM-SCGC6-is-not-declared/m-p/891585#M52681</guid>
      <dc:creator>neilporven</dc:creator>
      <dc:date>2019-05-14T14:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: SIM_SCGC6 is not declared</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SIM-SCGC6-is-not-declared/m-p/891586#M52682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, so I opened both Kinetis and MCUXpresso and compared MK64F12.h files and I noticed the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is for Kinetis:&lt;/P&gt;&lt;P&gt;Processors: MK64FN1M0VDC12&lt;BR /&gt;** MK64FN1M0VLL12&lt;BR /&gt;** MK64FN1M0VLQ12&lt;BR /&gt;** MK64FN1M0VMD12&lt;BR /&gt;**&lt;BR /&gt;** Compilers: Keil ARM C/C++ Compiler&lt;BR /&gt;** Freescale C/C++ for Embedded ARM&lt;BR /&gt;** GNU C Compiler&lt;BR /&gt;** GNU C Compiler - CodeSourcery Sourcery G++&lt;BR /&gt;** IAR ANSI C/C++ Compiler for ARM&lt;BR /&gt;**&lt;BR /&gt;** Reference manual: K64P144M120SF5RM, Rev.2, January 2014&lt;BR /&gt;** Version: rev. 2.8, 2015-02-19&lt;BR /&gt;** Build: b150225&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and this is for MCUXpresso:&lt;/P&gt;&lt;P&gt;Processors: MK64FN1M0CAJ12&lt;BR /&gt;** MK64FN1M0VDC12&lt;BR /&gt;** MK64FN1M0VLL12&lt;BR /&gt;** MK64FN1M0VLQ12&lt;BR /&gt;** MK64FN1M0VMD12&lt;BR /&gt;** MK64FX512VDC12&lt;BR /&gt;** MK64FX512VLL12&lt;BR /&gt;** MK64FX512VLQ12&lt;BR /&gt;** MK64FX512VMD12&lt;BR /&gt;**&lt;BR /&gt;** Compilers: Keil ARM C/C++ Compiler&lt;BR /&gt;** Freescale C/C++ for Embedded ARM&lt;BR /&gt;** GNU C Compiler&lt;BR /&gt;** IAR ANSI C/C++ Compiler for ARM&lt;BR /&gt;** MCUXpresso Compiler&lt;BR /&gt;**&lt;BR /&gt;** Reference manual: K64P144M120SF5RM, Rev.2, January 2014&lt;BR /&gt;** Version: rev. 2.9, 2016-03-21&lt;BR /&gt;** Build: b180801&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Kinetis they forgot to mention the 512 processors (just an observation).&lt;/P&gt;&lt;P&gt;In MCUXpresso they included the 512s.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other observation was the Build, it seems that changes were done on MCUXpresso and possibly the following&lt;/P&gt;&lt;P&gt;was removed:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* SIM - Register instance definitions */&lt;BR /&gt;/* SIM */&lt;BR /&gt;#define SIM_SOPT1 SIM_SOPT1_REG(SIM)&lt;BR /&gt;#define SIM_SOPT1CFG SIM_SOPT1CFG_REG(SIM)&lt;BR /&gt;#define SIM_SOPT2 SIM_SOPT2_REG(SIM)&lt;BR /&gt;#define SIM_SOPT4 SIM_SOPT4_REG(SIM)&lt;BR /&gt;#define SIM_SOPT5 SIM_SOPT5_REG(SIM)&lt;BR /&gt;#define SIM_SOPT7 SIM_SOPT7_REG(SIM)&lt;BR /&gt;#define SIM_SDID SIM_SDID_REG(SIM)&lt;BR /&gt;#define SIM_SCGC1 SIM_SCGC1_REG(SIM)&lt;BR /&gt;#define SIM_SCGC2 SIM_SCGC2_REG(SIM)&lt;BR /&gt;#define SIM_SCGC3 SIM_SCGC3_REG(SIM)&lt;BR /&gt;#define SIM_SCGC4 SIM_SCGC4_REG(SIM)&lt;BR /&gt;#define SIM_SCGC5 SIM_SCGC5_REG(SIM)&lt;BR /&gt;#define SIM_SCGC6 SIM_SCGC6_REG(SIM)&lt;BR /&gt;#define SIM_SCGC7 SIM_SCGC7_REG(SIM)&lt;BR /&gt;#define SIM_CLKDIV1 SIM_CLKDIV1_REG(SIM)&lt;BR /&gt;#define SIM_CLKDIV2 SIM_CLKDIV2_REG(SIM)&lt;BR /&gt;#define SIM_FCFG1 SIM_FCFG1_REG(SIM)&lt;BR /&gt;#define SIM_FCFG2 SIM_FCFG2_REG(SIM)&lt;BR /&gt;#define SIM_UIDH SIM_UIDH_REG(SIM)&lt;BR /&gt;#define SIM_UIDMH SIM_UIDMH_REG(SIM)&lt;BR /&gt;#define SIM_UIDML SIM_UIDML_REG(SIM)&lt;BR /&gt;#define SIM_UIDL SIM_UIDL_REG(SIM)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where SIM_SCGC6 can be found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone from NXP explain this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Neil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2019 14:59:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SIM-SCGC6-is-not-declared/m-p/891586#M52682</guid>
      <dc:creator>neilporven</dc:creator>
      <dc:date>2019-05-14T14:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: SIM_SCGC6 is not declared</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SIM-SCGC6-is-not-declared/m-p/891587#M52683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My colleague figured it out.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was how you access the SCGC6 previously:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;SIM_SCGC6 |= SIM_SCGC6_PIT_MASK | SIM_SCGC6_DMAMUX_MASK;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;This is the way how to access it now!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;SPAN&gt;SIM-&amp;gt;SCGC6 |= SIM_SCGC6_PIT_MASK | SIM_SCGC6_DMAMUX_MASK;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2019 13:40:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SIM-SCGC6-is-not-declared/m-p/891587#M52683</guid>
      <dc:creator>neilporven</dc:creator>
      <dc:date>2019-05-15T13:40:13Z</dc:date>
    </item>
  </channel>
</rss>

