<?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>S12 / MagniV MicrocontrollersのトピックRe: About S12G128 EEPROM</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-S12G128-EEPROM/m-p/721130#M14814</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kim,&lt;/P&gt;&lt;P&gt;The question is what your EEPROM Initializing code does. Could you share your EEPROM Initializing code here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In fact, the maximum bus clock frequency for an S12G family is just 25MHz.&lt;/P&gt;&lt;P&gt;So, when you overclock MCU and “initialize EEPROM”, the clock may be reconfigured or simply unlocked and unstable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please do not use bus clock higher than 25MHz for S12G MCUs.&lt;/P&gt;&lt;P&gt;I would like to also recommend using an external oscillator as the source clock for CAN module instead of PLL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Radek&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, 26 Oct 2017 12:37:02 GMT</pubDate>
    <dc:creator>RadekS</dc:creator>
    <dc:date>2017-10-26T12:37:02Z</dc:date>
    <item>
      <title>About S12G128 EEPROM</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-S12G128-EEPROM/m-p/721129#M14813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Actually I want to know why CAN and UART has problem when I use Initialize CLK for EEPROM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I follow the S12GN32's EEPROM Code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My PLL Bus CLK is 32Mhz. I use 125kbps CAN Speed and baud 9600 UART Communication.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #fdfdfd;"&gt;The symptoms of my program are as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #fdfdfd; color: #000000;"&gt;1. When I except EEPROM Initializing code, My CAN function and UART function is working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #fdfdfd; color: #000000;"&gt;2. When I include EEPROM Initializing code, My CAN function and UART function is not working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #fdfdfd; color: #000000;"&gt;I need all three functions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #fdfdfd; color: #000000;"&gt;How can I solve this problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2017 17:23:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-S12G128-EEPROM/m-p/721129#M14813</guid>
      <dc:creator>kimkang-mok</dc:creator>
      <dc:date>2017-10-25T17:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: About S12G128 EEPROM</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-S12G128-EEPROM/m-p/721130#M14814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kim,&lt;/P&gt;&lt;P&gt;The question is what your EEPROM Initializing code does. Could you share your EEPROM Initializing code here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In fact, the maximum bus clock frequency for an S12G family is just 25MHz.&lt;/P&gt;&lt;P&gt;So, when you overclock MCU and “initialize EEPROM”, the clock may be reconfigured or simply unlocked and unstable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please do not use bus clock higher than 25MHz for S12G MCUs.&lt;/P&gt;&lt;P&gt;I would like to also recommend using an external oscillator as the source clock for CAN module instead of PLL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Radek&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, 26 Oct 2017 12:37:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-S12G128-EEPROM/m-p/721130#M14814</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2017-10-26T12:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: About S12G128 EEPROM</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-S12G128-EEPROM/m-p/721131#M14815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #fdfdfd;"&gt;Thank you for your interest in my post.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #fdfdfd;"&gt;I already solve this problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My&amp;nbsp;problem arose due to changes in Clock speed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for your kindness.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 13:33:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-S12G128-EEPROM/m-p/721131#M14815</guid>
      <dc:creator>kimkang-mok</dc:creator>
      <dc:date>2017-10-26T13:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: About S12G128 EEPROM</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-S12G128-EEPROM/m-p/721132#M14816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Radek:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You said :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I would like to also recommend using an external oscillator as the source clock for CAN module instead of PLL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;do you mean that an 8mhz crystal is not suitable for CAN applications?&amp;nbsp; I looked thru the reference manual and could find no recommendations.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Bob&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Dec 2017 07:56:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-S12G128-EEPROM/m-p/721132#M14816</guid>
      <dc:creator>TurboBob</dc:creator>
      <dc:date>2017-12-09T07:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: About S12G128 EEPROM</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-S12G128-EEPROM/m-p/721133#M14817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bob,&lt;/P&gt;&lt;P&gt;No, the meaning is exactly opposite.&lt;/P&gt;&lt;P&gt;The 8mhz crystal is suitable as CAN clock source in most of the cases.&lt;/P&gt;&lt;P&gt;The PLL clock is suitable as CAN clock source rather only for debugging purposes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For real application, the crystal should be used as the clock source.&lt;/P&gt;&lt;P&gt;The difference is in accuracy. The internal IRC clock have accuracy +/-1.3%. The PLL unlock detection is between 0.5 and 2.5%. So, the PLL based on IRC may not fulfill clock CAN accuracy requirements on edge cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps you.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Radek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 08:28:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-S12G128-EEPROM/m-p/721133#M14817</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2017-12-11T08:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: About S12G128 EEPROM</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-S12G128-EEPROM/m-p/721134#M14818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for clarifying.&amp;nbsp; It makes sense.&amp;nbsp; &amp;nbsp; &amp;nbsp;I posted in another (old) thread,&amp;nbsp; not sure I will every get a reply.&amp;nbsp; That question was if there is a patch or port of the AN2295 bootloader for the '12s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bob Bailey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Jan 2018 23:37:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-S12G128-EEPROM/m-p/721134#M14818</guid>
      <dc:creator>TurboBob</dc:creator>
      <dc:date>2018-01-13T23:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: About S12G128 EEPROM</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-S12G128-EEPROM/m-p/721135#M14819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;Yes, I guess that thread from 2008 will be not followed anymore.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;About bootloader for S12G)&lt;/P&gt;&lt;P&gt;I would like to recommend AN4258 Serial Bootloader for S12(X) Microcontrollers Based on 180 nm Technology&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/files/microcontrollers/doc/app_note/AN4258.pdf"&gt;http://www.nxp.com/files/microcontrollers/doc/app_note/AN4258.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/files/microcontrollers/doc/app_note/AN4258SW.zip"&gt;http://www.nxp.com/files/microcontrollers/doc/app_note/AN4258SW.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It is simple serial bootloader where S12G is already supported (S12G128, but other derivatives may be added).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;there are also few other older bootloaders. For example:&lt;/P&gt;&lt;P&gt;AN2153 A Serial Bootloader for reprogramming the MC9S12DP256 FLASH Memory&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/files/microcontrollers/doc/app_note/AN2153.pdf"&gt;http://www.nxp.com/files/microcontrollers/doc/app_note/AN2153.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/webapp/Download?colCode=AN2153SW"&gt;http://www.nxp.com/webapp/Download?colCode=AN2153SW&lt;/A&gt;&lt;/P&gt;&lt;P&gt;AN2546 HCS12 Load RAM and Execute Bootloader User Guide&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/files/microcontrollers/doc/app_note/AN2546.pdf"&gt;http://www.nxp.com/files/microcontrollers/doc/app_note/AN2546.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/webapp/Download?colCode=AN2546SW"&gt;http://www.nxp.com/webapp/Download?colCode=AN2546SW&lt;/A&gt;&lt;/P&gt;&lt;P&gt;AN3275 S12 All-Access Bootloader for the HCS12 Microcontroller Family&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/files/microcontrollers/doc/app_note/AN3275.pdf"&gt;http://www.nxp.com/files/microcontrollers/doc/app_note/AN3275.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/webapp/sps/download/license.jsp?colCode=AN3275SW"&gt;http://www.nxp.com/webapp/sps/download/license.jsp?colCode=AN3275SW&lt;/A&gt;&lt;/P&gt;&lt;P&gt;AN3391 LFAE Bootloader Example and Interface for use with AN2546 (CAN bootloader for S12XE)&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/files/microcontrollers/doc/app_note/AN3391.pdf"&gt;http://www.nxp.com/files/microcontrollers/doc/app_note/AN3391.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/files/microcontrollers/doc/app_note/AN3391SW.zip"&gt;http://www.nxp.com/files/microcontrollers/doc/app_note/AN3391SW.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However, these bootloaders do not support S12G family directly. On another side, the AN3391 may be more universal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Radek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2018 08:29:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-S12G128-EEPROM/m-p/721135#M14819</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2018-01-15T08:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: About S12G128 EEPROM</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-S12G128-EEPROM/m-p/721136#M14820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&amp;nbsp; I will give it a try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2018 15:05:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-S12G128-EEPROM/m-p/721136#M14820</guid>
      <dc:creator>TurboBob</dc:creator>
      <dc:date>2018-01-17T15:05:40Z</dc:date>
    </item>
  </channel>
</rss>

