<?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>8-bit MicrocontrollersのトピックRe: Minimal startup time on S08SG</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Minimal-startup-time-on-S08SG/m-p/181637#M13253</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The 100us specification refers only to the internal reference startup period.&amp;nbsp; Assuming that you are using FEI mode, there will be a further delay for the FLL acquisition time, 1ms maximum, for the FLL to lock.&amp;nbsp; Does your code wait for the FLL to lock prior to doing other initialisation tasks?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would then assume that your ultimate task of controlling the output signal would occur only after the required peripherals and GPIO have been initialised, and the main loop is entered.&amp;nbsp; This initialisation is in addition to the ANSI initialisation of static variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is possible that a period of 300us may not be feasible, once these other factors are taken into account.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Nov 2011 18:37:30 GMT</pubDate>
    <dc:creator>bigmac</dc:creator>
    <dc:date>2011-11-10T18:37:30Z</dc:date>
    <item>
      <title>Minimal startup time on S08SG</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Minimal-startup-time-on-S08SG/m-p/181635#M13251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all.&lt;/P&gt;&lt;P&gt;I've a problem, I use a S08SG32 for a quick control.&lt;/P&gt;&lt;P&gt;I nedd to control a digital signal in a time of 300us from startup (power on).&lt;/P&gt;&lt;P&gt;I've developed my code and my board, but the system start in 2.5ms!!&lt;/P&gt;&lt;P&gt;I use internal clock, the datasheet certify 100us max of startup.&lt;/P&gt;&lt;P&gt;How can I solve this problem.&lt;/P&gt;&lt;P&gt;How I can start my code unless of 300us?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use codewarrior 6.3 downloaded by freescale site, I write my code in C.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks to all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 16:17:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Minimal-startup-time-on-S08SG/m-p/181635#M13251</guid>
      <dc:creator>FabVio</dc:creator>
      <dc:date>2011-11-10T16:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Minimal startup time on S08SG</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Minimal-startup-time-on-S08SG/m-p/181636#M13252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since you are using C, startup time depends on how many variables do you have. By default C startup code clears all not initialized static storage variables, also performs initialization for static storage variables, for with you specify initialization values, like int i=555;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can either use non ANSI startup code and skip over variables initialization.&amp;nbsp;Or,&amp;nbsp;you can allocate variables, that don't have to be initialized in NO_INIT segments instead of READ_WRITE segments.&amp;nbsp;For example various queue buffers (which are often big) usually don't have to be initialized. To do so you need to split your RAM sgment definition in&amp;nbsp;PRM file into two parts like&lt;/P&gt;&lt;P&gt;SEGMENTS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RAM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = READ_WRITE&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0100 TO&amp;nbsp;&amp;nbsp; 0x01FF;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOINITRAM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;= NO_INIT&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0200 TO&amp;nbsp;&amp;nbsp; 0x02FF;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PLACEMENT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; DEFAULT_RAM&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;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; INTO&amp;nbsp; RAM;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOINIT_RAM&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; INTO NOINITRAM;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In your code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#pragma DATA_SEG NOINIT_RAM&lt;/P&gt;&lt;P&gt;char mybigfifobuffer[100];&lt;/P&gt;&lt;P&gt;#pragma DATA_SEG DEFAULT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This should reduce startup time by&amp;nbsp;~100*10 bus clock cycles (see startup up code timing).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 17:56:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Minimal-startup-time-on-S08SG/m-p/181636#M13252</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2011-11-10T17:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Minimal startup time on S08SG</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Minimal-startup-time-on-S08SG/m-p/181637#M13253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The 100us specification refers only to the internal reference startup period.&amp;nbsp; Assuming that you are using FEI mode, there will be a further delay for the FLL acquisition time, 1ms maximum, for the FLL to lock.&amp;nbsp; Does your code wait for the FLL to lock prior to doing other initialisation tasks?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would then assume that your ultimate task of controlling the output signal would occur only after the required peripherals and GPIO have been initialised, and the main loop is entered.&amp;nbsp; This initialisation is in addition to the ANSI initialisation of static variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is possible that a period of 300us may not be feasible, once these other factors are taken into account.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 18:37:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Minimal-startup-time-on-S08SG/m-p/181637#M13253</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2011-11-10T18:37:30Z</dc:date>
    </item>
  </channel>
</rss>

