<?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>Digital Signal ControllersのトピックMC56F8255 Flash-Clockdivider</title>
    <link>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F8255-Flash-Clockdivider/m-p/659289#M982</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;i have a question about the MC56F8255 flash-clockdivider (register HFM_CLKD.Div[5..0]):&lt;/P&gt;&lt;P&gt;The user-manual&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/assets/documents/data/en/reference-manuals/MC56F825XRM.pdf"&gt;http://www.nxp.com/assets/documents/data/en/reference-manuals/MC56F825XRM.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;says i should avoid:&lt;/P&gt;&lt;P&gt;(1/Fclk - 4/Fbus) &amp;lt; 5us&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the CodeWarrior folder i can find the flash.cfg file for the MC56f8255 (5625x_flash.cfg) here:&lt;/P&gt;&lt;P&gt;C:\Programme\CodeWarrior_V8_3\M56800E Support\initialization\56825x_flash.cfg&lt;/P&gt;&lt;P&gt;In this&amp;nbsp;this .cfg-file i can see the following entry:&lt;/P&gt;&lt;P&gt;set_hfmclkd&amp;nbsp; 0x27&amp;nbsp;&amp;nbsp;&amp;nbsp; (0x27 = 39dez)&lt;/P&gt;&lt;P&gt;After Reset, MSTR_OSC = 8MHz (internal OSC aktiv), so Fclk is:&lt;/P&gt;&lt;P&gt;Fclk&amp;nbsp;= MSTR_OSC&amp;nbsp;/ (hfmclkd + 1)&lt;/P&gt;&lt;P&gt;Fclk = 8MHz / (39 + 1) = 8MHz / 40 = 200kHz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After Reset Fbus is 8MHz (internal OSC aktiv).&amp;nbsp; When i'm testing the above standing rule i get the following result:&lt;/P&gt;&lt;P&gt;(1/Fclk - 4/Fbus)&amp;nbsp; should be&amp;nbsp;&amp;gt;=&amp;nbsp;5us&lt;/P&gt;&lt;P&gt;(1/200kHz - 4/8MHz) = 4,5us&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So&amp;nbsp;the&amp;nbsp;set_hfmclkd value&amp;nbsp;in the init-file from the&amp;nbsp;CodeWarrior-installation folder should be an illegal value. Is this correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second question: Have i proberly understood that&amp;nbsp;Fclk is always MSTR_OSC and not the sys_clk / 2? For Example the PLL is aktiv and the sys_clk = 60MHz, then the Fclk for flash-programming&amp;nbsp;is MSTR_OSC = 8MHz and NOT 30MHz? So this were different from the flash-programming for the MC56F83xx. The MC56F83xx use for flash-programming sys_clk / 2 (30MHz in the example above).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your help!&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Ulrich Neumayer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Mar 2017 13:23:51 GMT</pubDate>
    <dc:creator>ulrichneumayer</dc:creator>
    <dc:date>2017-03-16T13:23:51Z</dc:date>
    <item>
      <title>MC56F8255 Flash-Clockdivider</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F8255-Flash-Clockdivider/m-p/659289#M982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;i have a question about the MC56F8255 flash-clockdivider (register HFM_CLKD.Div[5..0]):&lt;/P&gt;&lt;P&gt;The user-manual&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/assets/documents/data/en/reference-manuals/MC56F825XRM.pdf"&gt;http://www.nxp.com/assets/documents/data/en/reference-manuals/MC56F825XRM.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;says i should avoid:&lt;/P&gt;&lt;P&gt;(1/Fclk - 4/Fbus) &amp;lt; 5us&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the CodeWarrior folder i can find the flash.cfg file for the MC56f8255 (5625x_flash.cfg) here:&lt;/P&gt;&lt;P&gt;C:\Programme\CodeWarrior_V8_3\M56800E Support\initialization\56825x_flash.cfg&lt;/P&gt;&lt;P&gt;In this&amp;nbsp;this .cfg-file i can see the following entry:&lt;/P&gt;&lt;P&gt;set_hfmclkd&amp;nbsp; 0x27&amp;nbsp;&amp;nbsp;&amp;nbsp; (0x27 = 39dez)&lt;/P&gt;&lt;P&gt;After Reset, MSTR_OSC = 8MHz (internal OSC aktiv), so Fclk is:&lt;/P&gt;&lt;P&gt;Fclk&amp;nbsp;= MSTR_OSC&amp;nbsp;/ (hfmclkd + 1)&lt;/P&gt;&lt;P&gt;Fclk = 8MHz / (39 + 1) = 8MHz / 40 = 200kHz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After Reset Fbus is 8MHz (internal OSC aktiv).&amp;nbsp; When i'm testing the above standing rule i get the following result:&lt;/P&gt;&lt;P&gt;(1/Fclk - 4/Fbus)&amp;nbsp; should be&amp;nbsp;&amp;gt;=&amp;nbsp;5us&lt;/P&gt;&lt;P&gt;(1/200kHz - 4/8MHz) = 4,5us&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So&amp;nbsp;the&amp;nbsp;set_hfmclkd value&amp;nbsp;in the init-file from the&amp;nbsp;CodeWarrior-installation folder should be an illegal value. Is this correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second question: Have i proberly understood that&amp;nbsp;Fclk is always MSTR_OSC and not the sys_clk / 2? For Example the PLL is aktiv and the sys_clk = 60MHz, then the Fclk for flash-programming&amp;nbsp;is MSTR_OSC = 8MHz and NOT 30MHz? So this were different from the flash-programming for the MC56F83xx. The MC56F83xx use for flash-programming sys_clk / 2 (30MHz in the example above).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your help!&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Ulrich Neumayer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 13:23:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F8255-Flash-Clockdivider/m-p/659289#M982</guid>
      <dc:creator>ulrichneumayer</dc:creator>
      <dc:date>2017-03-16T13:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: MC56F8255 Flash-Clockdivider</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F8255-Flash-Clockdivider/m-p/659290#M983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Ulrich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As the following screenshot, the formula is ((1 / FBUS[MHz]) - (1 / FBUS[MHz] / 4)) &amp;lt; 5 μs, it is the Fbus clock instead of flash clock. The Fbus clock is the system bus clock, generally, the Fbus system bus clock is 60MHz, the cycle time is 16.6nS, of course, the formula 16.6nS-16.6nS/4=12.45nS, which is obviously less than 5us.&lt;/P&gt;&lt;P&gt;As the next note said that "With an FBUS value below 1 MHz, erasing and writing flash are not possible, but reading&lt;BR /&gt;flash is still supported.", If the systrem bus clock is too low, the flash writting stress will be high, the scenario should be avoided.&lt;/P&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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/15716i753A571C79C98977/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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2017 02:59:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F8255-Flash-Clockdivider/m-p/659290#M983</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2017-03-20T02:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: MC56F8255 Flash-Clockdivider</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F8255-Flash-Clockdivider/m-p/659291#M984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello XiangJun Rong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thanks for your help. I thought it was a spelling mistake, because in the Reference Manual &lt;A data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fassets%2Fdocuments%2Fdata%2Fen%2Freference-manuals%2FMC56F825XRM.pdf" rel="nofollow" target="_blank"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline;"&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="http://www.nxp.com/assets/documents/data/en/reference-manuals/MC56F825XRM.pdf" target="test_blank"&gt;http://www.nxp.com/assets/documents/data/en/reference-manuals/MC56F825XRM.pdf&lt;/A&gt;&amp;nbsp;at the end of the page 612 (Kap. 20.3.5) under "Caution"&amp;nbsp;stands the rule: (1 / Fclk) - (1 / Fbus / 4) &amp;lt; 5us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Ulrich Neumayer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2017 07:36:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F8255-Flash-Clockdivider/m-p/659291#M984</guid>
      <dc:creator>ulrichneumayer</dc:creator>
      <dc:date>2017-03-20T07:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: MC56F8255 Flash-Clockdivider</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F8255-Flash-Clockdivider/m-p/659292#M985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi XiangJun Rong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you'r answer can't be correct! You wrote "16.6nS-16.6nS/4=12.45nS, which is obviously less than 5us", but in the datasheet stands you should AVOID results &amp;lt;5us. And 12,45ns is much less than 5us but have to be &amp;gt;=5us. I think the rule in the user Manual at page 612/613:&lt;/P&gt;&lt;P&gt;(1/Fclk - 1/(4*Fbus))&amp;nbsp;must be &amp;gt;=&amp;nbsp;5us&lt;/P&gt;&lt;P&gt;is correct! (Fclk instead of Fbus)&lt;/P&gt;&lt;P&gt;Then the Divider in the .cfg-File 39 (0x27) is not correct and must be 40 (0x28) or greater&amp;nbsp;to satisfy this rule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Ulrich Neumayer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 13:19:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F8255-Flash-Clockdivider/m-p/659292#M985</guid>
      <dc:creator>ulrichneumayer</dc:creator>
      <dc:date>2017-04-07T13:19:43Z</dc:date>
    </item>
  </channel>
</rss>

